diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 2637292..682fa95 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -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 diff --git a/phpstan.neon.dist b/phpstan.neon.dist index b8c2369..6eb2611 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -6,6 +6,7 @@ parameters: - tests excludePaths: - tests/Mock/ForwardCompatibleEntityManager.php + - tests/Mock/PHPCRDocumentManager.php ignoreErrors: # ORM 2 backwards compatibility