File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44
55namespace Rector \PHPUnit \CodeQuality \Enum ;
66
7- final class NonStaticNonAssertPrefixedAssertionMethods
7+ final class NonAssertNonStaticMethods
88{
99 /**
1010 * @var string[]
Original file line number Diff line number Diff line change 1111use PHPStan \Type \ObjectType ;
1212use Rector \NodeNameResolver \NodeNameResolver ;
1313use Rector \NodeTypeResolver \NodeTypeResolver ;
14- use Rector \PHPUnit \CodeQuality \Enum \NonStaticNonAssertPrefixedAssertionMethods ;
14+ use Rector \PHPUnit \CodeQuality \Enum \NonAssertNonStaticMethods ;
1515use Rector \PHPUnit \Enum \PHPUnitClassName ;
1616use Rector \Reflection \ReflectionResolver ;
1717
@@ -37,7 +37,7 @@ public function detectTestCaseCall(MethodCall|StaticCall $call): bool
3737 $ methodName = $ this ->nodeNameResolver ->getName ($ call ->name );
3838 if (! str_starts_with ((string ) $ methodName , 'assert ' ) && ! ($ call instanceof StaticCall && in_array (
3939 $ methodName ,
40- NonStaticNonAssertPrefixedAssertionMethods ::ALL ,
40+ NonAssertNonStaticMethods ::ALL ,
4141 true
4242 ))) {
4343 return false ;
You can’t perform that action at this time.
0 commit comments