mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
9a2931cbe4
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
17 lines
715 B
PHP
17 lines
715 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202306;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector;
|
|
use Rector\Php54\Rector\Break_\RemoveZeroBreakContinueRector;
|
|
use Rector\Php54\Rector\FuncCall\RemoveReferenceFromCallRector;
|
|
use Rector\Renaming\Rector\FuncCall\RenameFunctionRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(LongArrayToShortArrayRector::class);
|
|
$rectorConfig->ruleWithConfiguration(RenameFunctionRector::class, ['mysqli_param_count' => 'mysqli_stmt_param_count']);
|
|
$rectorConfig->rule(RemoveReferenceFromCallRector::class);
|
|
$rectorConfig->rule(RemoveZeroBreakContinueRector::class);
|
|
};
|