mirror of
https://github.com/brufdev/many-notes.git
synced 2026-01-20 09:50:34 -06:00
26 lines
573 B
PHP
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();
|