File tree Expand file tree Collapse file tree 3 files changed +3
-21
lines changed
Expand file tree Collapse file tree 3 files changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,7 @@ jobs:
135135 all-tools-${{ github.sha }}-
136136 all-tools-
137137 - name : Code style check
138- uses : docker://phpdoc/phpcs-ga:latest
139- env :
140- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
141- with :
142- args : -d memory_limit=1024M
138+ uses : phpDocumentor/coding-standard@v1.0.0
143139
144140 phpstan :
145141 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ setup: install-phive
1313
1414.PHONY : phpcs
1515phpcs :
16- docker run -it --rm -v${PWD} :/opt/project -w /opt/project phpdoc/phpcs-ga:latest -d memory_limit=1024M
16+ docker run -it --rm -v${PWD} :/opt/project -w /opt/project phpdoc/phpcs-ga:v1.0.0 -s
1717
1818.PHONY : phpstan
1919phpstan :
Original file line number Diff line number Diff line change 66 <file >tests/unit</file >
77 <exclude-pattern >*/tests/unit/Types/ContextFactoryTest.php</exclude-pattern >
88 <arg value =" p" />
9- <rule ref =" PSR2" >
10- <include-pattern >*\.php</include-pattern >
11- </rule >
12-
13- <rule ref =" Doctrine" >
14- <exclude name =" SlevomatCodingStandard.TypeHints.UselessConstantTypeHint.UselessDocComment" />
15- </rule >
169
17- <rule ref =" Squiz.Classes.ValidClassName.NotCamelCaps" >
18- <exclude-pattern >*/src/*_.php</exclude-pattern >
10+ <rule ref =" phpDocumentor" >
1911 </rule >
2012
2113 <rule ref =" SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix" >
2214 <exclude-pattern >*/src/*/Abstract*.php</exclude-pattern >
2315 </rule >
24-
25- <rule ref =" Generic.Formatting.SpaceAfterNot" >
26- <properties >
27- <property name =" spacing" value =" 0" />
28- </properties >
29- </rule >
3016</ruleset >
You can’t perform that action at this time.
0 commit comments