mirror of
https://github.com/doctrine/data-fixtures.git
synced 2026-03-23 22:32:13 +01:00
Ignore PHPStan error
These surfaced after merging #473 One of the errors can only be ignored using excludePaths
This commit is contained in:
@@ -313,19 +313,7 @@ parameters:
|
||||
path: tests/Common/DataFixtures/DependentFixtureTest.php
|
||||
|
||||
-
|
||||
message: '#^Call to method expects\(\) on an unknown class Doctrine\\ODM\\PHPCR\\DocumentManager\.$#'
|
||||
identifier: class.notFound
|
||||
count: 5
|
||||
path: tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\Tests\\Common\\DataFixtures\\Executor\\PHPCRExecutorTest\:\:getDocumentManager\(\) has invalid return type Doctrine\\ODM\\PHPCR\\DocumentManager\.$#'
|
||||
identifier: class.notFound
|
||||
count: 2
|
||||
path: tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$dm of class Doctrine\\Common\\DataFixtures\\Executor\\PHPCRExecutor constructor expects Doctrine\\ODM\\PHPCR\\DocumentManagerInterface, Doctrine\\ODM\\PHPCR\\DocumentManager&PHPUnit\\Framework\\MockObject\\MockObject given\.$#'
|
||||
message: '#^Parameter \#1 \$dm of class Doctrine\\Common\\DataFixtures\\Executor\\PHPCRExecutor constructor expects Doctrine\\ODM\\PHPCR\\DocumentManagerInterface, Doctrine\\Tests\\Mock\\PHPCRDocumentManager&PHPUnit\\Framework\\MockObject\\MockObject given\.$#'
|
||||
identifier: argument.type
|
||||
count: 5
|
||||
path: tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php
|
||||
|
||||
@@ -6,6 +6,7 @@ parameters:
|
||||
- tests
|
||||
excludePaths:
|
||||
- tests/Mock/ForwardCompatibleEntityManager.php
|
||||
- tests/Mock/PHPCRDocumentManager.php
|
||||
|
||||
ignoreErrors:
|
||||
# ORM 2 backwards compatibility
|
||||
|
||||
Reference in New Issue
Block a user