diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 295675c..4d4d643 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,5 +1,11 @@ parameters: ignoreErrors: + - + message: '#^Call to function method_exists\(\) with ''Radebatz\\\\TypeInfoExtras\\\\Type\\\\Type'' and ''objectShape'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: src/TypeResolver/StringTypeResolver.php + - message: '#^Instanceof between PHPStan\\PhpDocParser\\Ast\\Type\\IdentifierTypeNode and PHPStan\\PhpDocParser\\Ast\\Type\\IdentifierTypeNode will always evaluate to true\.$#' identifier: instanceof.alwaysTrue diff --git a/phpstan.neon b/phpstan.neon index 8c51adb..36125b3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -12,3 +12,4 @@ parameters: excludePaths: - 'tests/Fixtures/*' treatPhpDocTypesAsCertain: false + reportUnmatchedIgnoredErrors: false