4 Star 3 Fork 5

Gitee 极速下载 / Mautic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mautic/mautic
克隆/下载
rector-older-symfony.php 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
<?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,
]);
};
PHP
1
https://gitee.com/mirrors/Mautic.git
git@gitee.com:mirrors/Mautic.git
mirrors
Mautic
Mautic
5.x

搜索帮助