![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/ |
<?php declare(strict_types=1); use Rector\Doctrine\Set\DoctrineSetList; use Rector\Symfony\Set\SymfonyLevelSetList; use Rector\Symfony\Symfony42\Rector\MethodCall\ContainerGetToConstructorInjectionRector; return static function (Rector\Config\RectorConfig $rectorConfig): void { $rectorConfig->paths([ __DIR__.'/app/bundles', __DIR__.'/plugins', ]); $rectorConfig->skip([ ContainerGetToConstructorInjectionRector::class => [ // Requires quite a refactoring __DIR__.'/app/bundles/CoreBundle/Factory/MauticFactory.php', ], ]); $rectorConfig->symfonyContainerXml(__DIR__.'/var/cache/test/appAppKernelDevDebugContainer.xml'); $rectorConfig->sets([ // 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 SymfonyLevelSetList::UP_TO_SYMFONY_54, 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, ]); };