Skip to content

Commit

Permalink
[TASK] Allow assertInstanceOf calls in tests
Browse files Browse the repository at this point in the history
We find those checks useful.
  • Loading branch information
oliverklee committed Feb 26, 2025
1 parent a1f9f58 commit 61f7a6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ parameters:
null_over_false: true
narrow_param: true
narrow_return: true

ignoreErrors:
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) .* will always evaluate to#'
path: '../tests/'

0 comments on commit 61f7a6b

Please sign in to comment.