File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 11parameters :
2+ phpunit :
3+ convertUnionToIntersectionType : true
24 additionalConstructors :
35 - PHPUnit\Framework\TestCase::setUp
46 earlyTerminatingMethodCalls :
@@ -12,11 +14,14 @@ parameters:
1214 - stubs/MockObject.stub
1315 - stubs/TestCase.stub
1416
17+ parametersSchema :
18+ phpunit : structure ([
19+ convertUnionToIntersectionType : bool ()
20+ ])
21+
1522services :
1623 -
1724 class : PHPStan\PhpDoc\PHPUnit\MockObjectTypeNodeResolverExtension
18- tags :
19- - phpstan.phpDoc.typeNodeResolverExtension
2025 -
2126 class : PHPStan\Type\PHPUnit\Assert\AssertFunctionTypeSpecifyingExtension
2227 tags :
@@ -41,3 +46,7 @@ services:
4146 class : PHPStan\Type\PHPUnit\MockObjectDynamicReturnTypeExtension
4247 tags :
4348 - 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