Skip to content

Commit f215bd1

Browse files
committed
Updated rector config
1 parent dc480f7 commit f215bd1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rector.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Rector\Config\RectorConfig;
88
use Rector\Doctrine\Set\DoctrineSetList;
99
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
10+
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertEmptyNullableObjectToAssertInstanceofRector;
1011
use Rector\PHPUnit\Set\PHPUnitSetList;
1112
use Rector\Set\ValueObject\LevelSetList;
1213
use Rector\Set\ValueObject\SetList;
@@ -32,13 +33,19 @@
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,

0 commit comments

Comments
 (0)