Skip to content

Commit 5d8b941

Browse files
committed
[TASK] Allow assertInstanceOf calls in tests
We find those checks useful.
1 parent 61971b8 commit 5d8b941

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ parameters:
1212
- %currentWorkingDirectory%/bin/
1313
- %currentWorkingDirectory%/src/
1414
- %currentWorkingDirectory%/tests/
15+
16+
ignoreErrors:
17+
-
18+
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) .* will always evaluate to#'
19+
path: '../tests/'

0 commit comments

Comments
 (0)