Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ parameters:
excludePaths:
- 'tests/Fixtures/*'
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false