diff --git a/config/phpstan-baseline.neon b/config/phpstan-baseline.neon index a01c9a6c..98ce376a 100644 --- a/config/phpstan-baseline.neon +++ b/config/phpstan-baseline.neon @@ -17,4 +17,3 @@ parameters: identifier: phpunit.coversMethod count: 2 path: ../tests/ParserTest.php - diff --git a/config/phpstan.neon b/config/phpstan.neon index 3d7611a6..7ac466e1 100644 --- a/config/phpstan.neon +++ b/config/phpstan.neon @@ -16,3 +16,8 @@ parameters: - %currentWorkingDirectory%/bin/ - %currentWorkingDirectory%/src/ - %currentWorkingDirectory%/tests/ + + ignoreErrors: + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) .* will always evaluate to#' + path: '../tests/'