mep
This commit is contained in:
parent
e958163a4a
commit
b8a5a1ff58
79 changed files with 15113 additions and 0 deletions
27
rector.php
Normal file
27
rector.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
|
||||
|
||||
return RectorConfig::configure()
|
||||
->withPaths([
|
||||
__DIR__ . '/public',
|
||||
__DIR__ . '/src',
|
||||
__DIR__ . '/config',
|
||||
__DIR__ . '/tests',
|
||||
__DIR__ . '/bin',
|
||||
])
|
||||
->withImportNames(removeUnusedImports: true)
|
||||
->withPhpSets()
|
||||
->withPreparedSets(
|
||||
codeQuality: true,
|
||||
typeDeclarations: true,
|
||||
earlyReturn: true,
|
||||
strictBooleans: true,
|
||||
)
|
||||
->withSkip([
|
||||
ReadonlyPropertyRector::class,
|
||||
])
|
||||
;
|
Loading…
Add table
Add a link
Reference in a new issue