2019-09-23 17:41:47 +02:00

22 lines
938 B
YAML

services:
Rector\Rector\Visibility\ChangeMethodVisibilityRector:
Kdyby\Events\Subscriber:
getSubscribedEvents: 'static'
Rector\Renaming\Rector\MethodCall\RenameMethodRector:
# Kdyby → Symfony
Kdyby\Translation\Translator:
translate: 'trans'
Kdyby\RabbitMq\IConsumer:
process: 'execute'
Rector\Renaming\Rector\Class_\RenameClassRector:
# Kdyby → Symfony
Kdyby\RabbitMq\IConsumer: 'OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface'
Kdyby\RabbitMq\IProducer: 'OldSound\RabbitMqBundle\RabbitMq\ProducerInterface'
Kdyby\Monolog\Logger: 'Psr\Log\LoggerInterface'
Kdyby\Events\Subscriber: 'Symfony\Component\EventDispatcher\EventSubscriberInterface'
Kdyby\Translation\Translator: 'Symfony\Contracts\Translation\TranslatorInterface'
Rector\NetteToSymfony\Rector\MethodCall\WrapTransParameterNameRector: ~