-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.php
More file actions
23 lines (20 loc) · 859 Bytes
/
Copy pathrector.php
File metadata and controls
23 lines (20 loc) · 859 Bytes
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\Config\RectorConfig;
use Rector\Symfony\Symfony80\Rector\Class_\RemoveEraseCredentialsRector;
return RectorConfig::configure()
->withPaths([
__DIR__.'/src',
__DIR__.'/tests',
])
// Resolves the PHP 8.5 sets from composer.json's "php" requirement
->withPhpSets()
// Enables the Symfony/Doctrine upgrade + code-quality sets matching the
// installed package versions (the level-set equivalent in Rector 2.x)
->withComposerBased(symfony: true, doctrine: true)
->withSymfonyContainerXml(__DIR__.'/var/cache/dev/ExampleApp_KernelDevDebugContainer.xml')
->withSkip([
// Mangles the class body: leaves a stray serialize() method behind
// when removing eraseCredentials() (removed manually instead).
RemoveEraseCredentialsRector::class,
]);