File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 15
15
use Rector \Php82 \Rector as Php82 ;
16
16
use Rector \Php83 \Rector as Php83 ;
17
17
use Rector \Php84 \Rector as Php84 ;
18
+ use Rector \PHPUnit \CodeQuality \Rector \Class_ \PreferPHPUnitThisCallRector ;
18
19
use Rector \TypeDeclaration \Rector as TypeDeclaration ;
19
20
20
21
try {
42
43
Php80 \Class_ \ClassPropertyAssignToConstructorPromotionRector::class, # todo: wait for php80
43
44
Php80 \Class_ \StringableForToStringRector::class, # todo: wait for php80
44
45
TypeDeclaration \ClassMethod \ReturnNeverTypeRector::class,
46
+ # use static methods
47
+ PreferPHPUnitThisCallRector::class,
45
48
__DIR__ . '/shell/translations.php ' ,
46
49
__DIR__ . '/shell/update-copyright.php ' ,
47
50
__DIR__ . '/tests/unit/Mage/Reports/Model/Resource/Report/CollectionTest.php ' ,
You can’t perform that action at this time.
0 commit comments