Skip to content

Commit

Permalink
Ignore known SA errors
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Mar 5, 2024
1 parent c02e1bc commit b2c84e9
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 93 deletions.
10 changes: 10 additions & 0 deletions phpstan-baseline.neon
Expand Up @@ -790,6 +790,16 @@ parameters:
count: 1
path: tests/Doctrine/ODM/MongoDB/Tests/Functional/NestedDocumentsTest.php

-
message: "#^Parameter \\$discriminatorMap of attribute class Doctrine\\\\ODM\\\\MongoDB\\\\Mapping\\\\Annotations\\\\ReferenceOne constructor expects array\\<string, class\\-string\\>\\|null, array\\<string, string\\> given\\.$#"
count: 1
path: tests/Doctrine/ODM/MongoDB/Tests/Functional/TargetDocumentTest.php

-
message: "#^Parameter \\$targetDocument of attribute class Doctrine\\\\ODM\\\\MongoDB\\\\Mapping\\\\Annotations\\\\ReferenceOne constructor expects class\\-string\\|null, string given\\.$#"
count: 1
path: tests/Doctrine/ODM/MongoDB/Tests/Functional/TargetDocumentTest.php

-
message: "#^Property Doctrine\\\\ODM\\\\MongoDB\\\\Tests\\\\Functional\\\\Ticket\\\\GH1058PersistDocument\\:\\:\\$id is never written, only read\\.$#"
count: 1
Expand Down

0 comments on commit b2c84e9

Please sign in to comment.