Skip to content

Commit

Permalink
Fixing PHPStan ignore rules
Browse files Browse the repository at this point in the history
Some ignore rules where missing proper escaping.
  • Loading branch information
moufmouf committed Aug 5, 2020
1 parent 5956efc commit 7e5daf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpstan.neon
Expand Up @@ -25,7 +25,7 @@ parameters:
message: '#Parameter \#2 \$subType of method .* expects#'
path: src/Mappers/Root/IteratorTypeMapper.php
-
message: '#Method TheCodingMachine\\GraphQLite\\Mappers\\StaticTypeMapper::castOutputTypeToMutable() should return TheCodingMachine\\GraphQLite\\Mappers\\Proxys\\MutableInterfaceTypeAdapter\|TheCodingMachine\\GraphQLite\\Mappers\\Proxys\\MutableObjectTypeAdapter but returns GraphQL\\Type\\Definition\\InterfaceType|GraphQL\\Type\\Definition\\ObjectType.#'
message: '#Method TheCodingMachine\\GraphQLite\\Mappers\\StaticTypeMapper::castOutputTypeToMutable\(\) should return TheCodingMachine\\GraphQLite\\Mappers\\Proxys\\MutableInterfaceTypeAdapter\|TheCodingMachine\\GraphQLite\\Mappers\\Proxys\\MutableObjectTypeAdapter but returns GraphQL\\Type\\Definition\\InterfaceType|GraphQL\\Type\\Definition\\ObjectType.#'
path: src/Mappers/StaticTypeMapper.php
-
message: '#Unreachable statement - code above always terminates.#'
Expand All @@ -36,7 +36,7 @@ parameters:
-
message: '#Method TheCodingMachine\\GraphQLite\\AnnotationReader::getMethodAnnotations\(\) should return array<int, T of object> but returns array<object>.#'
path: src/AnnotationReader.php
- '#Call to an undefined method GraphQL\\Error\\ClientAware::getMessage()#'
- '#Call to an undefined method GraphQL\\Error\\ClientAware::getMessage\(\)#'


#-
Expand Down

0 comments on commit 7e5daf3

Please sign in to comment.