File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 4141use Rector \Php55 \Rector \String_ \StringClassNameToClassConstantRector ;
4242use Rector \Php70 \Rector \FuncCall \RandomFunctionRector ;
4343use Rector \Php73 \Rector \FuncCall \JsonThrowOnErrorRector ;
44+ use Rector \Php80 \Rector \Class_ \AnnotationToAttributeRector ;
45+ use Rector \PHPUnit \AnnotationsToAttributes \Rector \Class_ \AnnotationWithValueToAttributeRector ;
46+ use Rector \PHPUnit \AnnotationsToAttributes \Rector \Class_ \CoversAnnotationWithValueToAttributeRector ;
47+ use Rector \PHPUnit \AnnotationsToAttributes \Rector \ClassMethod \DataProviderAnnotationToAttributeRector ;
48+ use Rector \PHPUnit \AnnotationsToAttributes \Rector \ClassMethod \DependsAnnotationWithValueToAttributeRector ;
4449use Rector \PHPUnit \CodeQuality \Rector \Class_ \YieldDataProviderRector ;
4550use Rector \PHPUnit \Set \PHPUnitSetList ;
4651use Rector \Privatization \Rector \Property \PrivatizeFinalClassPropertyRector ;
133138 RandomFunctionRector::class,
134139
135140 SimplifyRegexPatternRector::class,
141+
142+ // PHPUnit 10 (requires PHP 8.1) features
143+ DataProviderAnnotationToAttributeRector::class,
144+ DependsAnnotationWithValueToAttributeRector::class,
145+ AnnotationWithValueToAttributeRector::class,
146+ AnnotationToAttributeRector::class,
147+ CoversAnnotationWithValueToAttributeRector::class,
136148 ]);
137149
138150 // auto import fully qualified class names
You can’t perform that action at this time.
0 commit comments