File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 5656 ]],
5757 'php_unit_strict ' => true ,
5858 'php_unit_test_case_static_method_calls ' => true ,
59+ 'php_unit_data_provider_name ' => true ,
60+ 'php_unit_data_provider_return_type ' => true ,
5961 'phpdoc_to_comment ' => ['ignored_tags ' => ['psalm-suppress ' , 'phpstan-var ' ]],
6062 'single_line_throw ' => false ,
6163 'static_lambda ' => true ,
Original file line number Diff line number Diff line change 2020use Rector \Config \RectorConfig ;
2121use Rector \Php70 \Rector \FunctionLike \ExceptionHandlerTypehintRector ;
2222use Rector \Php71 \Rector \FuncCall \CountOnNullRector ;
23+ use Rector \PHPUnit \CodeQuality \Rector \Class_ \AddSeeTestAnnotationRector ;
24+ use Rector \PHPUnit \Set \PHPUnitLevelSetList ;
25+ use Rector \PHPUnit \Set \PHPUnitSetList ;
2326use Rector \Set \ValueObject \LevelSetList ;
2427
2528return static function (RectorConfig $ rectorConfig ): void {
3033
3134 $ rectorConfig ->sets ([
3235 LevelSetList::UP_TO_PHP_80 ,
36+ PHPUnitLevelSetList::UP_TO_PHPUNIT_90 ,
37+ PHPUnitSetList::PHPUNIT_CODE_QUALITY ,
3338 ]);
3439
3540 $ rectorConfig ->importNames ();
3641 $ rectorConfig ->importShortClasses (false );
3742 $ rectorConfig ->skip ([
3843 CountOnNullRector::class,
3944 ExceptionHandlerTypehintRector::class,
45+ AddSeeTestAnnotationRector::class,
4046 ]);
4147};
You can’t perform that action at this time.
0 commit comments