File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 99use Rector \PHPUnit \CodeQuality \Rector \Class_ \SingleMockPropertyTypeRector ;
1010use Rector \PHPUnit \CodeQuality \Rector \Class_ \TestWithToDataProviderRector ;
1111use Rector \PHPUnit \CodeQuality \Rector \Class_ \YieldDataProviderRector ;
12+ use Rector \PHPUnit \CodeQuality \Rector \ClassMethod \AddInstanceofAssertForNullableInstanceRector ;
1213use Rector \PHPUnit \CodeQuality \Rector \ClassMethod \DataProviderArrayItemsNewLinedRector ;
1314use Rector \PHPUnit \CodeQuality \Rector \ClassMethod \RemoveEmptyTestMethodRector ;
1415use Rector \PHPUnit \CodeQuality \Rector \ClassMethod \ReplaceTestAnnotationWithPrefixedFunctionRector ;
7576 AssertEmptyNullableObjectToAssertInstanceofRector::class,
7677 AssertCountWithZeroToAssertEmptyRector::class,
7778
79+ // avoid call on nullable object
80+ AddInstanceofAssertForNullableInstanceRector::class,
81+
7882 /**
7983 * Improve direct testing of your code, without mock creep. Make it simple, clear and easy to maintain:
8084 *
You can’t perform that action at this time.
0 commit comments