From 428070310b5e86a90e53747ee2a3ce16846c5cdb Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Wed, 3 Dec 2025 19:25:50 +0100 Subject: [PATCH 1/2] chore: split coding standards on CI: composer validation and PHP-CS-Fixer will be run separately --- .github/workflows/ci-static-analysis.yaml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-static-analysis.yaml b/.github/workflows/ci-static-analysis.yaml index 3f3fb5aba..ab3cf15c3 100644 --- a/.github/workflows/ci-static-analysis.yaml +++ b/.github/workflows/ci-static-analysis.yaml @@ -13,8 +13,22 @@ env: SYMFONY_PHPUNIT_DIR: "$HOME/symfony-bridge/.phpunit" jobs: - coding-standards: - name: "Coding Standards" + composer-validate: + name: "Validate composer.json" + + runs-on: ubuntu-latest + + steps: + - + name: Checkout code + uses: "actions/checkout@v4" + + - + name: Validate composer.json + run: "composer validate --strict --no-check-lock" + + php-cs-fixer: + name: "PHP-CS-Fixer" runs-on: ubuntu-latest @@ -29,10 +43,6 @@ jobs: with: php-version: 8.2 - - - name: Validate composer.json - run: "composer validate --strict --no-check-lock" - - name: Composer install uses: "ramsey/composer-install@v3" From ae0dfde631b01f10495a494c22099e66b7ecccfd Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Wed, 3 Dec 2025 19:29:48 +0100 Subject: [PATCH 2/2] chore: do not show progress from `php-cs-fixer` --- .github/workflows/ci-static-analysis.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-static-analysis.yaml b/.github/workflows/ci-static-analysis.yaml index ab3cf15c3..1214bd2f5 100644 --- a/.github/workflows/ci-static-analysis.yaml +++ b/.github/workflows/ci-static-analysis.yaml @@ -57,7 +57,7 @@ jobs: - name: Run PHP-CS-Fixer - run: "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff" + run: "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff --show-progress=none" phpstan: name: PHPStan