-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathextension.neon
More file actions
89 lines (81 loc) · 2.68 KB
/
extension.neon
File metadata and controls
89 lines (81 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
parameters:
phpunit:
convertUnionToIntersectionType: true
reportMissingDataProviderReturnType: false
additionalConstructors:
- PHPUnit\Framework\TestCase::setUp
earlyTerminatingMethodCalls:
PHPUnit\Framework\Assert:
- fail
- markTestIncomplete
- markTestSkipped
stubFiles:
- stubs/Assert.stub
- stubs/AssertionFailedError.stub
- stubs/ExpectationFailedException.stub
- stubs/MockBuilder.stub
- stubs/MockObject.stub
- stubs/Stub.stub
- stubs/TestCase.stub
exceptions:
uncheckedExceptionRegexes:
- '#^PHPUnit\\#'
- '#^SebastianBergmann\\#'
parametersSchema:
phpunit: structure([
convertUnionToIntersectionType: bool(),
reportMissingDataProviderReturnType: bool(),
])
services:
-
class: PHPStan\PhpDoc\PHPUnit\MockObjectTypeNodeResolverExtension
-
class: PHPStan\Type\PHPUnit\Assert\AssertFunctionTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.functionTypeSpecifyingExtension
-
class: PHPStan\Type\PHPUnit\Assert\AssertMethodTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.methodTypeSpecifyingExtension
-
class: PHPStan\Type\PHPUnit\Assert\AssertStaticMethodTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
-
class: PHPStan\Type\PHPUnit\MockBuilderDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Type\PHPUnit\MockForIntersectionDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
-
class: PHPStan\Rules\PHPUnit\CoversHelper
-
class: PHPStan\Rules\PHPUnit\AnnotationHelper
-
class: PHPStan\Rules\PHPUnit\TestMethodsHelper
-
class: PHPStan\Rules\PHPUnit\PHPUnitVersion
factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::createPHPUnitVersion()
-
class: PHPStan\Rules\PHPUnit\PHPUnitVersionDetector
-
class: PHPStan\Rules\PHPUnit\DataProviderHelper
factory: @PHPStan\Rules\PHPUnit\DataProviderHelperFactory::create()
-
class: PHPStan\Rules\PHPUnit\DataProviderHelperFactory
arguments:
parser: @defaultAnalysisParser
-
class: PHPStan\Type\PHPUnit\DataProviderReturnTypeIgnoreExtension
-
class: PHPStan\Type\PHPUnit\DynamicCallToAssertionIgnoreExtension
conditionalTags:
PHPStan\PhpDoc\PHPUnit\MockObjectTypeNodeResolverExtension:
phpstan.phpDoc.typeNodeResolverExtension: %phpunit.convertUnionToIntersectionType%
PHPStan\Type\PHPUnit\DataProviderReturnTypeIgnoreExtension:
phpstan.ignoreErrorExtension: [%featureToggles.bleedingEdge%, not(%phpunit.reportMissingDataProviderReturnType%)]
PHPStan\Type\PHPUnit\DynamicCallToAssertionIgnoreExtension:
phpstan.ignoreErrorExtension: %featureToggles.bleedingEdge%