Skip to content

Commit

Permalink
ignore phpstan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Jul 17, 2022
1 parent df52abd commit 8f1ca3c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,14 @@ parameters:
message: "#.+mapField\\(\\) expects.+enumType\\: 'Documents81#"
count: 2
path: tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php

# it loads an empty class ReflectionEnum of ReflectionEnumPolyfill.php file from laminas/laminas-code, see https://github.com/phpstan/phpstan/issues/7290
-
message: "#^Call to an undefined method ReflectionEnum\\:\\:isBacked\\(\\)\\.$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php

-
message: "#^Call to an undefined method ReflectionEnum\\:\\:getBackingType\\(\\)\\.$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php

0 comments on commit 8f1ca3c

Please sign in to comment.