Skip to content

Commit a11560e

Browse files
committed
Fix CI: add PHPStan 2.0 ignore patterns for Doctrine ODM
1 parent 7af5c0b commit a11560e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

phpstan.neon.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ parameters:
2424
- '/Static property .*\:\:\$container \(.*\\Test\\TestContainer\) does not accept Symfony\\Component\\DependencyInjection\\ContainerInterface\./'
2525
- '/PHPDoc tag \@var for variable \$manager contains unknown class Doctrine\\ODM\\MongoDB\\DocumentManager\./'
2626
- '/PHPDoc tag \@var for variable \$manager contains unknown class Doctrine\\ODM\\PHPCR\\DocumentManagerInterface\./'
27+
- '/PHPDoc tag \@var with type Doctrine\\ODM\\MongoDB\\DocumentManager is not subtype of native type/'
28+
- '/PHPDoc tag \@var with type Doctrine\\ODM\\PHPCR\\DocumentManagerInterface is not subtype of native type/'
2729
- '/Call to static method Webmozart\\Assert\\Assert::\w+\(\) .* will always evaluate to true\./'
2830
- '/PHPDoc tag \@var with type .* is not subtype of native type .*MockObject\./'

0 commit comments

Comments
 (0)