Skip to content

Commit 23908df

Browse files
committed
Drop doubled errors from integration fixture
The duplicate RepositoryMethodCallRule registration made the findOneBy()/findBy() field errors appear twice; the fixture had been updated to expect the doubled output. With the duplicate registration removed, each error is reported once again. Co-Authored-By: Claude Code
1 parent 9dcd9a1 commit 23908df

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/DoctrineIntegration/ORM/data/entityRepositoryDynamicReturn-0.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
"line": 94,
55
"ignorable": true
66
},
7-
{
8-
"message": "Call to method Doctrine\\ORM\\EntityRepository<PHPStan\\DoctrineIntegration\\ORM\\EntityRepositoryDynamicReturn\\MyEntity>::findOneBy() - entity PHPStan\\DoctrineIntegration\\ORM\\EntityRepositoryDynamicReturn\\MyEntity does not have a field named $blah.",
9-
"line": 94,
10-
"ignorable": true
11-
},
12-
{
13-
"message": "Call to method Doctrine\\ORM\\EntityRepository<PHPStan\\DoctrineIntegration\\ORM\\EntityRepositoryDynamicReturn\\MyEntity>::findBy() - entity PHPStan\\DoctrineIntegration\\ORM\\EntityRepositoryDynamicReturn\\MyEntity does not have a field named $blah.",
14-
"line": 116,
15-
"ignorable": true
16-
},
177
{
188
"message": "Call to method Doctrine\\ORM\\EntityRepository<PHPStan\\DoctrineIntegration\\ORM\\EntityRepositoryDynamicReturn\\MyEntity>::findBy() - entity PHPStan\\DoctrineIntegration\\ORM\\EntityRepositoryDynamicReturn\\MyEntity does not have a field named $blah.",
199
"line": 116,

0 commit comments

Comments
 (0)