From 3fa28299cce285f4a3b29bf4aea4fd674f04cfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 22 May 2022 16:22:48 +0200 Subject: [PATCH] Fix: Configure finder for friendsofphp/php-cs-fixer --- .github/workflows/ci.yml | 2 +- .php-cs-fixer.php | 1 + Makefile | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90650e7d44..6ad00e62ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: PHP-CS-Fixer uses: docker://oskarstark/php-cs-fixer-ga:3.4.0 with: - args: --format=txt --diff --dry-run --using-cache=no --verbose . + args: --format=txt --diff --dry-run --using-cache=no --verbose phpstan: name: PHPStan diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index da4f7bcdb3..f584577557 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -1,6 +1,7 @@ in(__DIR__) ->notPath('tests/TestCase.php'); $config = new PhpCsFixer\Config(); diff --git a/Makefile b/Makefile index 8867338753..6703deac2c 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,11 @@ test: vendor .PHONY: test fmt: vendor - vendor/bin/php-cs-fixer fix -v --using-cache=no . + vendor/bin/php-cs-fixer fix -v --using-cache=no .PHONY: fmt fmtcheck: vendor - vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no . + vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no .PHONY: fmtcheck phpdoc: vendor/bin/phpdoc