Skip to content

Commit 67aab7d

Browse files
committed
enable AddInstanceofAssertForNullableArgumentRector
1 parent 6b72511 commit 67aab7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/sets/phpunit-code-quality.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Rector\PHPUnit\CodeQuality\Rector\Class_\TestWithToDataProviderRector;
1616
use Rector\PHPUnit\CodeQuality\Rector\Class_\TypeWillReturnCallableArrowFunctionRector;
1717
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
18+
use Rector\PHPUnit\CodeQuality\Rector\ClassMethod\AddInstanceofAssertForNullableArgumentRector;
1819
use Rector\PHPUnit\CodeQuality\Rector\ClassMethod\AddInstanceofAssertForNullableInstanceRector;
1920
use Rector\PHPUnit\CodeQuality\Rector\ClassMethod\BareCreateMockAssignToDirectUseRector;
2021
use Rector\PHPUnit\CodeQuality\Rector\ClassMethod\DataProviderArrayItemsNewLinedRector;
@@ -112,7 +113,7 @@
112113
AddInstanceofAssertForNullableInstanceRector::class,
113114

114115
// enable next after testing
115-
// \Rector\PHPUnit\CodeQuality\Rector\ClassMethod\AddInstanceofAssertForNullableArgumentRector::class,
116+
AddInstanceofAssertForNullableArgumentRector::class,
116117

117118
AssertArrayCastedObjectToAssertSameRector::class,
118119

0 commit comments

Comments
 (0)