@@ -14,15 +14,6 @@ parameters:
14
14
missingCheckedExceptionInThrows: true
15
15
tooWideThrowType: true
16
16
17
- excludePaths:
18
- # PHP 8 attributes
19
- - src/Type/Definition/Deprecated.php
20
- - src/Type/Definition/Description.php
21
- # PHP 8.1 enums
22
- - src/Type/Definition/PhpEnumType.php
23
- - tests/Type/PhpEnumTypeTest.php
24
- - tests/Type/PhpEnumType
25
-
26
17
ignoreErrors:
27
18
# Since this is a library that is supposed to be flexible, we don't
28
19
# want to lock down every possible extension point.
@@ -33,10 +24,9 @@ parameters:
33
24
- "~Variable method call on GraphQL\\\\Language\\\\Parser\\.~"
34
25
35
26
# Useful/necessary when dealing with arbitrary user data
36
- -
37
- message: "~Variable property access on object~"
38
- path: src/Utils/Utils.php
39
- count: 2
27
+ - message: "~Variable property access on object~"
28
+ path: src/Utils/Utils.php
29
+ count: 2
40
30
41
31
# PHPStan does not play nicely with markTestSkipped()
42
32
- message: "~Unreachable statement - code above always terminates~"
@@ -60,19 +50,18 @@ includes:
60
50
- phpstan/include-by-php-version.php
61
51
62
52
services:
63
- -
64
- class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsAbstractTypeStaticMethodTypeSpecifyingExtension
65
- tags:
66
- - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
67
- -
68
- class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsCompositeTypeStaticMethodTypeSpecifyingExtension
69
- tags:
70
- - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
71
- -
72
- class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsInputTypeStaticMethodTypeSpecifyingExtension
73
- tags:
74
- - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
75
- -
76
- class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsOutputTypeStaticMethodTypeSpecifyingExtension
77
- tags:
78
- - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
53
+ - class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsAbstractTypeStaticMethodTypeSpecifyingExtension
54
+ tags:
55
+ - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
56
+
57
+ - class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsCompositeTypeStaticMethodTypeSpecifyingExtension
58
+ tags:
59
+ - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
60
+
61
+ - class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsInputTypeStaticMethodTypeSpecifyingExtension
62
+ tags:
63
+ - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
64
+
65
+ - class: GraphQL\Tests\PhpStan\Type\Definition\Type\IsOutputTypeStaticMethodTypeSpecifyingExtension
66
+ tags:
67
+ - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
0 commit comments