Skip to content

Commit 9ba1ae1

Browse files
authored
chore(symfony): phpstan baseline for name converter interface (#6760)
1 parent 1539b93 commit 9ba1ae1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

phpstan.neon.dist

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ parameters:
8989
path: src/JsonApi/Tests/Serializer/ItemNormalizerTest.php
9090
- '#Method GraphQL\\Type\\Definition\\WrappingType::getWrappedType\(\) invoked with 1 parameter, 0 required\.#'
9191
- '#Access to an undefined property GraphQL\\Type\\Definition\\NamedType&GraphQL\\Type\\Definition\\Type::\$name\.#'
92+
-
93+
message: '#Instanceof between Symfony\\Component\\Serializer\\NameConverter\\NameConverterInterface and Symfony\\Component\\Serializer\\NameConverter\\MetadataAwareNameConverter will always evaluate to false\.#'
94+
paths:
95+
- src/GraphQl/Serializer/SerializerContextBuilder.php
96+
- src/GraphQl/Type/FieldsBuilder.php
97+
-
98+
message: '#Instanceof between Symfony\\Component\\Serializer\\NameConverter\\NameConverterInterface\|null and Symfony\\Component\\Serializer\\NameConverter\\MetadataAwareNameConverter will always evaluate to false\.#'
99+
paths:
100+
- src/Serializer/AbstractConstraintViolationListNormalizer.php
101+
- src/Symfony/Validator/Serializer/ValidationExceptionNormalizer.php
102+
92103
# See https://github.com/phpstan/phpstan-symfony/issues/27
93104
-
94105
message: '#^Service "[^"]+" is private.$#'

0 commit comments

Comments
 (0)