mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
24 lines
489 B
PHP
24 lines
489 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__.'/app',
|
|
__DIR__.'/bootstrap/app.php',
|
|
__DIR__.'/config',
|
|
__DIR__.'/database',
|
|
__DIR__.'/public',
|
|
])
|
|
->withPreparedSets(
|
|
deadCode: true,
|
|
codeQuality: true,
|
|
typeDeclarations: true,
|
|
privatization: true,
|
|
earlyReturn: true,
|
|
strictBooleans: true,
|
|
)
|
|
->withPhpSets();
|