Skip to content

Commit

Permalink
chore(symfony): phpstan baseline for name converter interface
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Oct 28, 2024
1 parent 8bdf044 commit fe1c7f7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ parameters:
path: src/JsonApi/Tests/Serializer/ItemNormalizerTest.php
- '#Method GraphQL\\Type\\Definition\\WrappingType::getWrappedType\(\) invoked with 1 parameter, 0 required\.#'
- '#Access to an undefined property GraphQL\\Type\\Definition\\NamedType&GraphQL\\Type\\Definition\\Type::\$name\.#'
-
message: '#Instanceof between Symfony\\Component\\Serializer\\NameConverter\\NameConverterInterface and Symfony\\Component\\Serializer\\NameConverter\\MetadataAwareNameConverter will always evaluate to false\.#'
paths:
- src/GraphQl/Serializer/SerializerContextBuilder.php
- src/GraphQl/Type/FieldsBuilder.php
-
message: '#Instanceof between Symfony\\Component\\Serializer\\NameConverter\\NameConverterInterface\|null and Symfony\\Component\\Serializer\\NameConverter\\MetadataAwareNameConverter will always evaluate to false\.#'
paths:
- src/Serializer/AbstractConstraintViolationListNormalizer.php
- src/Symfony/Validator/Serializer/ValidationExceptionNormalizer.php

# See https://github.com/phpstan/phpstan-symfony/issues/27
-
message: '#^Service "[^"]+" is private.$#'
Expand Down

0 comments on commit fe1c7f7

Please sign in to comment.