Skip to content

Commit

Permalink
Ignore issue for method_exists always true
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Jan 29, 2025
1 parent 6cd47b8 commit 5a6cbbd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5a6cbbd

Please sign in to comment.