File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11parameters :
22 phpunit :
33 convertUnionToIntersectionType : true
4+ checkDataProviderData : %featureToggles.bleedingEdge%
45 additionalConstructors :
56 - PHPUnit\Framework\TestCase::setUp
67 earlyTerminatingMethodCalls :
@@ -24,6 +25,7 @@ parameters:
2425parametersSchema :
2526 phpunit : structure ([
2627 convertUnionToIntersectionType : bool ()
28+ checkDataProviderData : bool (),
2729 ])
2830
2931services :
@@ -69,9 +71,9 @@ services:
6971
7072 -
7173 class : PHPStan\Type\PHPUnit\DataProviderReturnTypeIgnoreExtension
72- tags :
73- - phpstan.ignoreErrorExtension
7474
7575conditionalTags :
7676 PHPStan\PhpDoc\PHPUnit\MockObjectTypeNodeResolverExtension :
7777 phpstan.phpDoc.typeNodeResolverExtension : %phpunit.convertUnionToIntersectionType%
78+ PHPStan\Type\PHPUnit\DataProviderReturnTypeIgnoreExtension :
79+ phpstan.ignoreErrorExtension : %phpunit.checkDataProviderData%
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ conditionalTags:
1414 phpstan.rules.rule : [%strictRulesInstalled% , %featureToggles.bleedingEdge% ]
1515
1616 PHPStan\Rules\PHPUnit\DataProviderDataRule :
17- phpstan.rules.rule : %featureToggles.bleedingEdge %
17+ phpstan.rules.rule : %phpunit.checkDataProviderData %
1818
1919services :
2020 -
You can’t perform that action at this time.
0 commit comments