We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27cf3d commit 272798aCopy full SHA for 272798a
.github/workflows/static.yml
@@ -25,8 +25,8 @@ jobs:
25
- name: Install Dependencies
26
run: composer update --no-interaction --no-progress
27
28
- - name: Run PHPCS
29
- run: composer run cs
+ - name: Run cs fixer
+ run: composer run cs-dry-run
30
31
- name: Run PHPStan
32
run: composer run static
composer.json
@@ -37,6 +37,10 @@
37
"psr-4": { "PhpSchool\\CliMenuTest\\": "test/" }
38
},
39
"scripts" : {
40
+ "cs-dry-run" : [
41
+ "php-cs-fixer check src --rules=@PSR12",
42
+ "php-cs-fixer check test --rules=@PSR12"
43
+ ],
44
"cs" : [
45
"php-cs-fixer fix src --rules=@PSR12",
46
"php-cs-fixer fix test --rules=@PSR12"
0 commit comments