generated from dehy/template-symfony
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rector.php
executable file
·23 lines (20 loc) · 944 Bytes
/
rector.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
declare(strict_types=1);
use Rector\CodeQuality\Rector\Equal\UseIdenticalOverEqualWithSameTypeRector;
use Rector\Config\RectorConfig;
use Rector\ValueObject\PhpVersion;
return RectorConfig::configure()
->withPaths([
__DIR__.'/src',
__DIR__.'/tests',
])
->withSkip([
UseIdenticalOverEqualWithSameTypeRector::class => [
__DIR__.'/src/Helper/ObjectComparator.php',
],
])
->withPhpVersion(PhpVersion::PHP_83)
->withPhpSets(php83: true)
->withPreparedSets(deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations: true, privatization: true, naming: false, instanceOf: true, earlyReturn: true, strictBooleans: true, carbon: false, rectorPreset: true, phpunitCodeQuality: true, doctrineCodeQuality: true, symfonyCodeQuality: true, symfonyConfigs: true, twig: true, phpunit: true)
->withAttributesSets(symfony: true, doctrine: true, sensiolabs: true)
;