Skip to content

Commit 7bde443

Browse files
authored
Ignore issue for method_exists always true (#878)
1 parent 6cd47b8 commit 7bde443

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

phpstan-baseline.neon

+12
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@ parameters:
198198
count: 1
199199
path: src/DependencyInjection/Configuration.php
200200

201+
-
202+
message: '#^Call to function method_exists\(\) with ''Doctrine\\\\ODM\\\\MongoDB\\\\Configuration'' and ''setUseLazyGhostObje…'' will always evaluate to true\.$#'
203+
identifier: function.alreadyNarrowedType
204+
count: 2
205+
path: src/DependencyInjection/Configuration.php
206+
201207
-
202208
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\.$#'
203209
identifier: argument.type
@@ -516,6 +522,12 @@ parameters:
516522
count: 1
517523
path: tests/DependencyInjection/AbstractMongoDBExtensionTestCase.php
518524

525+
-
526+
message: '#^Call to function method_exists\(\) with ''Doctrine\\\\ODM\\\\MongoDB\\\\Configuration'' and ''setUseLazyGhostObje…'' will always evaluate to true\.$#'
527+
identifier: function.alreadyNarrowedType
528+
count: 2
529+
path: tests/DependencyInjection/ConfigurationTest.php
530+
519531
-
520532
message: '#^Method Doctrine\\Bundle\\MongoDBBundle\\Tests\\DependencyInjection\\ConfigurationTest\:\:testFullConfiguration\(\) has parameter \$config with no value type specified in iterable type array\.$#'
521533
identifier: missingType.iterableValue

0 commit comments

Comments
 (0)