File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 12
12
vendor/bin/phpcbf --standard=ruleset.xml --extensions=php,phpt --tab-width=4 --ignore=temp -sp src tests
13
13
14
14
phpstan :
15
- vendor/bin/phpstan analyse -l max - c phpstan.neon --memory-limit=512M src
15
+ vendor/bin/phpstan analyse -c phpstan.neon --memory-limit=512M
16
16
17
17
tests :
18
18
vendor/bin/tester -s -p php --colors 1 -C tests
Original file line number Diff line number Diff line change 44
44
"nette/tester" : " ^2.4.0" ,
45
45
"tracy/tracy" : " ^2.8.0" ,
46
46
"mockery/mockery" : " ^1.3.0" ,
47
- "phpstan/phpstan" : " ^0.12 " ,
48
- "phpstan/phpstan-strict-rules" : " ^0.12 " ,
49
- "ninjify/coding-standard" : " ^0.12 "
47
+ "phpstan/phpstan" : " ^1.0 " ,
48
+ "phpstan/phpstan-strict-rules" : " ^1.0 " ,
49
+ "ninjify/coding-standard" : " ^0.11 "
50
50
},
51
51
"prefer-stable" : true ,
52
52
"minimum-stability" : " dev" ,
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ includes:
2
2
- ./vendor/phpstan/phpstan-strict-rules/rules.neon
3
3
4
4
parameters :
5
+ level : 8
6
+ paths :
7
+ - src
5
8
ignoreErrors :
6
9
- ' #^Strict comparison using = == between string and null will always evaluate to false.$ #'
7
10
- '#^Parameter \#1 \$sql of method Nette\\Database\\Explorer::query\ (\ ) expects literal-string , mixed given.$ #'
You can’t perform that action at this time.
0 commit comments