File tree 3 files changed +15
-3
lines changed
3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
run : composer stan-setup
102
102
103
103
- name : Run PHP CodeSniffer
104
- run : vendor/bin/phpcs --report=checkstyle src/ tests/ | cs2pr
104
+ run : composer cs-check
105
105
106
106
- name : Run phpstan
107
107
if : success() || failure()
Original file line number Diff line number Diff line change 72
72
" @cs-check" ,
73
73
" @test"
74
74
],
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" ,
77
77
"test" : " phpunit" ,
78
78
"stan" : " phpstan analyse && psalm" ,
79
79
"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