File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
parameters :
2
+ phpunit :
3
+ convertUnionToIntersectionType : true
2
4
additionalConstructors :
3
5
- PHPUnit\Framework\TestCase::setUp
4
6
earlyTerminatingMethodCalls :
@@ -12,11 +14,14 @@ parameters:
12
14
- stubs/MockObject.stub
13
15
- stubs/TestCase.stub
14
16
17
+ parametersSchema :
18
+ phpunit : structure ([
19
+ convertUnionToIntersectionType : bool ()
20
+ ])
21
+
15
22
services :
16
23
-
17
24
class : PHPStan\PhpDoc\PHPUnit\MockObjectTypeNodeResolverExtension
18
- tags :
19
- - phpstan.phpDoc.typeNodeResolverExtension
20
25
-
21
26
class : PHPStan\Type\PHPUnit\Assert\AssertFunctionTypeSpecifyingExtension
22
27
tags :
@@ -41,3 +46,7 @@ services:
41
46
class : PHPStan\Type\PHPUnit\MockObjectDynamicReturnTypeExtension
42
47
tags :
43
48
- phpstan.broker.dynamicMethodReturnTypeExtension
49
+
50
+ conditionalTags :
51
+ PHPStan\PhpDoc\PHPUnit\MockObjectTypeNodeResolverExtension :
52
+ phpstan.phpDoc.typeNodeResolverExtension : %phpunit.convertUnionToIntersectionType%
You can’t perform that action at this time.
0 commit comments