Skip to content

Commit fcf08c1

Browse files
authored
Merge pull request #293 from moufmouf/fix-phpstan-ignored-errors
Fixing PHPStan ignore rules
2 parents 155491d + 7e5daf3 commit fcf08c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ parameters:
2525
message: '#Parameter \#2 \$subType of method .* expects#'
2626
path: src/Mappers/Root/IteratorTypeMapper.php
2727
-
28-
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.#'
28+
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.#'
2929
path: src/Mappers/StaticTypeMapper.php
3030
-
3131
message: '#Unreachable statement - code above always terminates.#'
@@ -36,7 +36,7 @@ parameters:
3636
-
3737
message: '#Method TheCodingMachine\\GraphQLite\\AnnotationReader::getMethodAnnotations\(\) should return array<int, T of object> but returns array<object>.#'
3838
path: src/AnnotationReader.php
39-
- '#Call to an undefined method GraphQL\\Error\\ClientAware::getMessage()#'
39+
- '#Call to an undefined method GraphQL\\Error\\ClientAware::getMessage\(\)#'
4040

4141

4242
#-

0 commit comments

Comments
 (0)