File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 77use Rector \Config \RectorConfig ;
88use Rector \Doctrine \Set \DoctrineSetList ;
99use Rector \PHPUnit \CodeQuality \Rector \Class_ \PreferPHPUnitThisCallRector ;
10+ use Rector \PHPUnit \CodeQuality \Rector \MethodCall \AssertEmptyNullableObjectToAssertInstanceofRector ;
1011use Rector \PHPUnit \Set \PHPUnitSetList ;
1112use Rector \Set \ValueObject \LevelSetList ;
1213use Rector \Set \ValueObject \SetList ;
3233
3334 ->withSets ([
3435 PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES ,
36+ PHPUnitSetList::PHPUNIT_90 ,
37+ PHPUnitSetList::PHPUNIT_110 ,
3538 ])
3639
3740 ->withRules ([
3841 DeclareStrictTypesRector::class
3942 ])
4043
4144 ->withSkip ([
45+ //Leave our AssertNull tests alone
46+ AssertEmptyNullableObjectToAssertInstanceofRector::class,
47+
48+
4249 CountArrayToEmptyArrayComparisonRector::class,
4350 //Leave our !== null checks alone
4451 FlipTypeControlToUseExclusiveTypeRector::class,
You can’t perform that action at this time.
0 commit comments