Skip to content

Commit 46531e1

Browse files
committed
Bump phpstan to ^1.4
1 parent fcdc678 commit 46531e1

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ composer:
33
composer update --no-interaction --prefer-dist
44

55
phpstan:
6-
vendor/bin/phpstan analyse -l 6 src/ --no-progress --error-format github
6+
vendor/bin/phpstan analyse -l 6 -c phpstan.neon src/ --no-progress --error-format github
77

88
tester:
99
vendor/bin/tester tests

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"supervisorphp/configuration": "^0.3"
3131
},
3232
"require-dev": {
33-
"phpstan/phpstan": "0.12.88",
33+
"phpstan/phpstan": "^1.4",
3434
"nette/tester": "^2.4"
3535
},
3636
"autoload": {

phpstan.neon

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Call to function is_subclass_of\\(\\) with non\\-empty\\-string\\|true and 'Supervisor\\\\\\\\Configuration\\\\\\\\Section\\\\\\\\Named' will always evaluate to false\\.$#"
5+
count: 1
6+
path: src/DI/SupervisorExtension.php
7+
8+

0 commit comments

Comments
 (0)