Files
many-notes/rector.php
2025-01-26 19:54:29 +00:00

26 lines
573 B
PHP

<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/app',
__DIR__ . '/bootstrap/app.php',
__DIR__ . '/bootstrap/providers.php',
__DIR__ . '/database',
__DIR__ . '/public',
__DIR__ . '/routes',
__DIR__ . '/tests',
])
->withPreparedSets(
deadCode: true,
codeQuality: true,
typeDeclarations: true,
privatization: true,
earlyReturn: true,
strictBooleans: true,
)
->withPhpSets();