Skip to content

Commit 6d37ae6

Browse files
committed
graphql-php-v15: adapt phpstan config
1 parent 561945a commit 6d37ae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpstan.neon.dist

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ parameters:
2323
- '/Trying to invoke Closure\|null but it might not be a callable/'
2424
- '/Property Rebing\\GraphQL\\Support\\Field\:\:\$name \(string\) does not accept int\|string/'
2525
- '/Parameter #1 \$name of method Rebing\\GraphQL\\Support\\Type\:\:getFieldResolver\(\) expects string, int\|string given/'
26-
# tests/Unit/EndpointTest.php
27-
- '/Parameter #1 \$wrappedType of static method GraphQL\\Type\\Definition\\Type::nonNull\(\) expects \(callable\(\): mixed\)\|GraphQL\\Type\\Definition\\NullableType, GraphQL\\Type\\Definition\\Type given/'
2826
# Mass ignore the raw array property access used in many tests for now
2927
# See also https://github.com/nunomaduro/larastan/issues/611
3028
-
3129
path: tests/*
3230
message: '/Cannot access property \$[a-z]+ on Rebing\\GraphQL\\Tests\\Support\\Models\\[A-Za-z]+\|null./'
31+
- path: tests/*
32+
message: '/Parameter #1 \$type of static method GraphQL\\Type\\Definition\\Type::nonNull\(\) expects .*, GraphQL\\Type\\Definition\\Type given./'
3333
reportUnmatchedIgnoredErrors: true

0 commit comments

Comments
 (0)