mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
chore: add skip rule for deprecated constructor param
This commit is contained in:
parent
ab0ebb98ce
commit
27729b17fd
@ -26,6 +26,7 @@ use Rector\CodingStyle\Rector\ClassMethod\FuncGetArgsToVariadicParamRector;
|
||||
use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector;
|
||||
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
|
||||
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
|
||||
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
|
||||
@ -88,6 +89,11 @@ return static function (RectorConfig $rectorConfig): void {
|
||||
__DIR__ . '/tests/system/Test/ReflectionHelperTest.php',
|
||||
],
|
||||
|
||||
RemoveUnusedConstructorParamRector::class => [
|
||||
// @TODO remove if deprecated $httpVerb is removed
|
||||
__DIR__ . '/system/Router/AutoRouterImproved.php',
|
||||
],
|
||||
|
||||
// call on purpose for nothing happen check
|
||||
RemoveEmptyMethodCallRector::class => [
|
||||
__DIR__ . '/tests',
|
||||
|
Loading…
x
Reference in New Issue
Block a user