From 8e72d15858bb42fd760006dc3d98ae0f41865c20 Mon Sep 17 00:00:00 2001 From: James Read Date: Fri, 17 Jan 2025 21:41:52 +0000 Subject: [PATCH] Adding --config back when specifying multiple files php-cs-fixer needs to be provider rules or the config file. see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/4279 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e284867ec..36c3d5d90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: - run: sed -i 's/525568/16777471/' vendor/kwn/php-rdkafka-stubs/stubs/constants.php - - run: ./bin/php-cs-fixer fix --no-interaction --dry-run --diff -v --path-mode=intersection -- ${{ env.GIT_DIFF_FILTERED }} + - run: ./bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --no-interaction --dry-run --diff -v --path-mode=intersection -- ${{ env.GIT_DIFF_FILTERED }} if: env.GIT_DIFF_FILTERED unit_tests: