diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 14fc6f88..1de670ba 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -198,6 +198,12 @@ parameters: count: 1 path: src/DependencyInjection/Configuration.php + - + message: '#^Call to function method_exists\(\) with ''Doctrine\\\\ODM\\\\MongoDB\\\\Configuration'' and ''setUseLazyGhostObje…'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: src/DependencyInjection/Configuration.php + - message: '#^Parameter \#1 \$rootNode of method Doctrine\\Bundle\\MongoDBBundle\\DependencyInjection\\Configuration\:\:addConnectionsSection\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition, Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition given\.$#' identifier: argument.type @@ -516,6 +522,12 @@ parameters: count: 1 path: tests/DependencyInjection/AbstractMongoDBExtensionTestCase.php + - + message: '#^Call to function method_exists\(\) with ''Doctrine\\\\ODM\\\\MongoDB\\\\Configuration'' and ''setUseLazyGhostObje…'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: tests/DependencyInjection/ConfigurationTest.php + - message: '#^Method Doctrine\\Bundle\\MongoDBBundle\\Tests\\DependencyInjection\\ConfigurationTest\:\:testFullConfiguration\(\) has parameter \$config with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue