File tree Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,7 @@ jobs:
138
138
all-tools-${{ github.sha }}-
139
139
all-tools-
140
140
- name : Code style check
141
- uses : docker://phpdoc/phpcs-ga:latest
142
- env :
143
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
144
- with :
145
- args : -d memory_limit=1024M
141
+ uses :
phpDocumentor/[email protected]
146
142
147
143
phpstan :
148
144
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ setup: install-phive
13
13
14
14
.PHONY : phpcs
15
15
phpcs :
16
- docker run -it --rm -v${CURDIR} :/opt/project -w /opt/project phpdoc/phpcs-ga:latest -d memory_limit=1024M -s
16
+ docker run -it --rm -v${CURDIR} :/opt/project -w /opt/project phpdoc/phpcs-ga:v1.0.0 -s
17
17
18
18
.PHONY : phpstan
19
19
phpstan :
Original file line number Diff line number Diff line change 6
6
<file >tests/unit</file >
7
7
<exclude-pattern >*/tests/unit/Types/ContextFactoryTest.php</exclude-pattern >
8
8
<arg value =" p" />
9
- <rule ref =" PSR2" >
10
- <include-pattern >*\.php</include-pattern >
11
- </rule >
12
9
13
- <rule ref =" Doctrine" >
14
- <exclude name =" SlevomatCodingStandard.TypeHints.UselessConstantTypeHint.UselessDocComment" />
15
- <exclude name =" Generic.Formatting.MultipleStatementAlignment.NotSame" />
16
- <exclude name =" Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
17
- <exclude name =" Squiz.Commenting.FunctionComment.SpacingAfterParamName" />
10
+ <rule ref =" phpDocumentor" >
18
11
<exclude name =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint" />
19
12
<exclude name =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint" />
20
13
</rule >
21
14
22
- <rule ref =" PSR1.Methods.CamelCapsMethodName.NotCamelCaps" >
23
- <exclude-pattern >*/src/phpDocumentor/Reflection/PrettyPrinter.php</exclude-pattern >
24
- </rule >
25
-
26
- <rule ref =" Squiz.Classes.ValidClassName.NotCamelCaps" >
27
- <exclude-pattern >*/src/*_.php</exclude-pattern >
28
- <exclude-pattern >*/tests/*_Test.php</exclude-pattern >
29
- </rule >
30
-
31
15
<rule ref =" SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix" >
32
16
<exclude-pattern >*/src/*/Abstract*.php</exclude-pattern >
33
17
</rule >
34
-
35
- <rule ref =" Generic.Formatting.SpaceAfterNot" >
36
- <properties >
37
- <property name =" spacing" value =" 0" />
38
- </properties >
39
- </rule >
40
-
41
18
</ruleset >
You can’t perform that action at this time.
0 commit comments