chore: fix rector configuration warnings
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
declare(strict_types = 1);
|
declare(strict_types = 1);
|
||||||
|
|
||||||
use Rector\Config\RectorConfig;
|
use Rector\Config\RectorConfig;
|
||||||
use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector;
|
|
||||||
|
|
||||||
return RectorConfig::configure()
|
return RectorConfig::configure()
|
||||||
->withPaths([
|
->withPaths([
|
||||||
@@ -12,15 +11,11 @@ return RectorConfig::configure()
|
|||||||
__DIR__ . '/config',
|
__DIR__ . '/config',
|
||||||
__DIR__ . '/tests',
|
__DIR__ . '/tests',
|
||||||
])
|
])
|
||||||
->withSkip([
|
|
||||||
AddOverrideAttributeToOverriddenMethodsRector::class,
|
|
||||||
])
|
|
||||||
->withPreparedSets(
|
->withPreparedSets(
|
||||||
deadCode: true,
|
deadCode: true,
|
||||||
codeQuality: true,
|
codeQuality: true,
|
||||||
typeDeclarations: true,
|
typeDeclarations: true,
|
||||||
privatization: true,
|
privatization: true,
|
||||||
earlyReturn: true,
|
earlyReturn: true,
|
||||||
strictBooleans: true,
|
|
||||||
)
|
)
|
||||||
->withPhpSets();
|
->withPhpSets();
|
||||||
|
|||||||
Reference in New Issue
Block a user