File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 run : composer stan-setup
102102
103103 - name : Run PHP CodeSniffer
104- run : vendor/bin/phpcs --report=checkstyle src/ tests/ | cs2pr
104+ run : composer cs-check
105105
106106 - name : Run phpstan
107107 if : success() || failure()
Original file line number Diff line number Diff line change 7272 " @cs-check" ,
7373 " @test"
7474 ],
75- "cs-check" : " phpcs -p -v --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/ " ,
76- "cs-fix" : " phpcbf -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/ " ,
75+ "cs-check" : " phpcs" ,
76+ "cs-fix" : " phpcbf" ,
7777 "test" : " phpunit" ,
7878 "stan" : " phpstan analyse && psalm" ,
7979 "phpstan" : " phpstan analyse" ,
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <ruleset name =" CakePHP Bake" >
3+ <config name =" installed_paths" value =" ../../cakephp/cakephp-codesniffer" />
4+ <arg value =" nps" />
5+
6+ <file >src/</file >
7+ <file >tests/</file >
8+
9+ <rule ref =" CakePHP" />
10+
11+ <exclude-pattern >*/templates/*</exclude-pattern >
12+ </ruleset >
You can’t perform that action at this time.
0 commit comments