Files
imail/rector.php
idevakk ba8d5d027b
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
chore: fix rector configuration warnings
2026-03-03 01:53:02 +05:30

22 lines
428 B
PHP

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