forked from mautic/mautic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector-older-symfony.php
More file actions
30 lines (26 loc) · 1.04 KB
/
Copy pathrector-older-symfony.php
File metadata and controls
30 lines (26 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\Doctrine\Set\DoctrineSetList;
use Rector\Symfony\Set\SymfonySetList;
return RectorConfig::configure()
->withPaths([
__DIR__.'/app/bundles',
__DIR__.'/plugins',
])
->withCache(__DIR__.'/var/cache/rector-older-symfony')
->withSymfonyContainerXml(__DIR__.'/var/cache/dev/appAppKernelDevDebugContainer.xml')
->withSets([
// helps with rebase of PRs for Symfony 3 and 4, @see https://github.com/mautic/mautic/pull/12676#issuecomment-1695531274
// remove when not needed to keep memory usage lower
SymfonySetList::SYMFONY_70,
DoctrineSetList::ANNOTATIONS_TO_ATTRIBUTES,
DoctrineSetList::DOCTRINE_CODE_QUALITY,
DoctrineSetList::DOCTRINE_COMMON_20,
DoctrineSetList::DOCTRINE_DBAL_211,
DoctrineSetList::DOCTRINE_DBAL_30,
DoctrineSetList::DOCTRINE_ORM_213,
DoctrineSetList::DOCTRINE_ORM_214,
DoctrineSetList::DOCTRINE_ORM_29,
DoctrineSetList::DOCTRINE_ORM_25,
]);