Commit 756a266 1 parent 5cc9226 commit 756a266 Copy full SHA for 756a266
File tree 4 files changed +22
-22
lines changed
4 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ qa: phpstan cs
7
7
8
8
cs :
9
9
ifdef GITHUB_ACTION
10
- vendor/bin/codesniffer -q --report=checkstyle src tests | cs2pr
10
+ vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --colors -nsp -q --report=checkstyle src tests | cs2pr
11
11
else
12
- vendor/bin/codesniffer src tests
12
+ vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --colors -nsp src tests
13
13
endif
14
14
15
15
csf :
16
- vendor/bin/codefixer src tests
16
+ vendor/bin/phpcbf --standard=ruleset.xml --encoding=utf-8 --colors -nsp src tests
17
17
18
18
phpstan :
19
19
vendor/bin/phpstan analyse -c phpstan.neon
Original file line number Diff line number Diff line change 22
22
"doctrine/common" :" ^3.4.3"
23
23
},
24
24
"require-dev" : {
25
- "mockery/mockery" : " ^1.3.1" ,
26
- "ninjify/qa" : " ^0.12" ,
27
- "ninjify/nunjuck" : " ^0.4" ,
28
- "phpstan/phpstan" : " ^1.4.0" ,
29
- "phpstan/phpstan-deprecation-rules" : " ^1.0.0" ,
30
- "phpstan/phpstan-nette" : " ^1.0.0" ,
31
- "phpstan/phpstan-strict-rules" : " ^1.0.0"
25
+ "contributte/qa" : " ^0.4" ,
26
+ "contributte/tester" : " ^0.3" ,
27
+ "contributte/phpstan" : " ^0.1" ,
28
+ "mockery/mockery" : " ^1.3.1"
32
29
},
33
30
"conflict" : {
34
31
"nette/di" : " <3.0.6" ,
Original file line number Diff line number Diff line change 1
1
includes :
2
- - vendor/phpstan/phpstan-deprecation-rules/rules.neon
3
- - vendor/phpstan/phpstan-nette/extension.neon
4
- - vendor/phpstan/phpstan-nette/rules.neon
5
- - vendor/phpstan/phpstan-strict-rules/rules.neon
2
+ - vendor/contributte/phpstan/phpstan.neon
6
3
7
4
parameters :
8
5
level : 9
9
- phpVersion : 70400
6
+ phpVersion : 80100
7
+
8
+ scanDirectories :
9
+ - src
10
+
11
+ fileExtensions :
12
+ - php
10
13
11
14
paths :
12
15
- src
16
+ - .docs
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" ?>
2
- <ruleset >
3
- <!-- Contributte Coding Standard -->
4
- <rule ref =" ./vendor/ninjify/coding-standard/contributte .xml" />
1
+ <?xml version =" 1.0" encoding = " UTF-8 " ?>
2
+ <ruleset name = " Contributte " xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi : noNamespaceSchemaLocation = " vendor/squizlabs/php_codesniffer/phpcs.xsd " >
3
+ <!-- Rulesets -->
4
+ <rule ref =" ./vendor/contributte/qa/ruleset-8.0 .xml" />
5
5
6
- <!-- Specific rules -->
6
+ <!-- Rules -->
7
7
<rule ref =" SlevomatCodingStandard.Files.TypeNameMatchesFileName" >
8
8
<properties >
9
9
<property name =" rootNamespaces" type =" array" >
13
13
</properties >
14
14
</rule >
15
15
16
- <!-- Exclude folders -->
16
+ <!-- Excludes -->
17
17
<exclude-pattern >/tests/tmp</exclude-pattern >
18
18
</ruleset >
19
-
You can’t perform that action at this time.
0 commit comments