2018-03-03 09:20:57 +01:00
|
|
|
services:
|
2017-10-14 21:48:19 +02:00
|
|
|
# dependency-injection
|
2018-05-01 19:31:41 +02:00
|
|
|
Rector\Rector\Dynamic\ArgumentAdderRector:
|
2018-03-03 10:16:09 +01:00
|
|
|
$argumentChangesByMethodAndType:
|
|
|
|
# added default value
|
|
|
|
-
|
|
|
|
class: 'Symfony\Component\DependencyInjection\ContainerBuilder'
|
|
|
|
method: 'compile'
|
|
|
|
position: 2
|
2018-05-02 18:55:07 +02:00
|
|
|
default_value: 0
|
2018-03-03 10:16:09 +01:00
|
|
|
-
|
|
|
|
class: 'Symfony\Component\DependencyInjection\ContainerBuilder'
|
|
|
|
method: 'addCompilerPass'
|
|
|
|
position: 2
|
2018-05-02 18:55:07 +02:00
|
|
|
default_value: 0
|
2018-03-03 10:16:09 +01:00
|
|
|
-
|
|
|
|
class: 'Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph'
|
|
|
|
method: 'connect'
|
|
|
|
position: 6
|
2018-05-02 18:55:07 +02:00
|
|
|
default_value: false
|
2017-10-14 21:58:15 +02:00
|
|
|
|
2018-06-01 15:51:34 +02:00
|
|
|
Rector\Symfony\Rector\Console\ConsoleExceptionToErrorEventConstantRector: ~
|
2017-10-05 18:16:19 +02:00
|
|
|
|
|
|
|
Rector\Rector\Dynamic\ClassReplacerRector:
|
2018-03-03 10:09:59 +01:00
|
|
|
$oldToNewClasses:
|
|
|
|
# console
|
|
|
|
'Symfony\Component\Console\Event\ConsoleExceptionEvent': 'Symfony\Component\Console\Event\ConsoleErrorEvent'
|
2017-10-06 00:29:36 +02:00
|
|
|
|
2018-03-03 10:09:59 +01:00
|
|
|
# debug
|
|
|
|
'Symfony\Component\Debug\Exception\ContextErrorException': 'ErrorException'
|
2017-10-06 00:29:36 +02:00
|
|
|
|
2018-03-03 10:09:59 +01:00
|
|
|
# dependency-injection
|
|
|
|
'Symfony\Component\DependencyInjection\DefinitionDecorator': 'Symfony\Component\DependencyInjection\ChildDefinition'
|
2017-10-14 16:39:17 +02:00
|
|
|
|
2018-03-03 10:09:59 +01:00
|
|
|
# framework bundle
|
|
|
|
'Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddConsoleCommandPass': 'Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass'
|
|
|
|
'Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\SerializerPass': 'Symfony\Component\Serializer\DependencyInjection\SerializerPass'
|
|
|
|
'Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\FormPass': 'Symfony\Component\Form\DependencyInjection\FormPass'
|
|
|
|
'Symfony\Bundle\FrameworkBundle\EventListener\SessionListener': 'Symfon\Component\HttpKernel\EventListener\SessionListener'
|
|
|
|
'Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListenr': 'Symfony\Component\HttpKernel\EventListener\TestSessionListener'
|
|
|
|
'Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ConfigCachePass': 'Symfony\Component\Config\DependencyInjection\ConfigCachePass'
|
|
|
|
'Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\PropertyInfoPass': 'Symfony\Component\PropertyInfo\DependencyInjection\PropertyInfoPass'
|
2017-10-14 21:58:15 +02:00
|
|
|
|
2017-10-14 22:37:55 +02:00
|
|
|
Rector\Rector\Dynamic\MethodNameReplacerRector:
|
2018-03-03 10:16:09 +01:00
|
|
|
$perClassOldToNewMethods:
|
|
|
|
# dependency-injection
|
|
|
|
'Symfony\Component\DependencyInjection\Container':
|
|
|
|
'isFrozen': 'isCompiled'
|