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:
135
135
all-tools-${{ github.sha }}-
136
136
all-tools-
137
137
- 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/[email protected]
143
139
144
140
phpstan :
145
141
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${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
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
-
13
- <rule ref =" Doctrine" >
14
- <exclude name =" SlevomatCodingStandard.TypeHints.UselessConstantTypeHint.UselessDocComment" />
15
- </rule >
16
9
17
- <rule ref =" Squiz.Classes.ValidClassName.NotCamelCaps" >
18
- <exclude-pattern >*/src/*_.php</exclude-pattern >
10
+ <rule ref =" phpDocumentor" >
19
11
</rule >
20
12
21
13
<rule ref =" SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix" >
22
14
<exclude-pattern >*/src/*/Abstract*.php</exclude-pattern >
23
15
</rule >
24
-
25
- <rule ref =" Generic.Formatting.SpaceAfterNot" >
26
- <properties >
27
- <property name =" spacing" value =" 0" />
28
- </properties >
29
- </rule >
30
16
</ruleset >
You can’t perform that action at this time.
0 commit comments