Enhance CI/CD workflow with code quality checks and PHPCBF integration

This commit is contained in:
2025-04-21 04:02:27 +01:00
parent 497c44c3c6
commit 5cd2a7d374
6 changed files with 152 additions and 12 deletions

View File

@@ -63,5 +63,12 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress
# - name: Run PHPCS
# run: ./vendor/bin/phpcs --standard=WordPress ./includes ./admin ./wp-plugin-starter-template.php
- name: Run PHPCS
run: composer run phpcs
continue-on-error: true
- name: Run PHPCBF (report only)
run: |
echo "Running PHPCBF in dry-run mode to show what would be fixed"
composer run phpcbf -- --dry-run
continue-on-error: true