fix syntax errors in levels

This commit is contained in:
Tomas Votruba 2018-04-29 00:55:21 +02:00
parent ed69b44b2b
commit c21b76cd90
5 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
services:
Rector\Rector\Dynamic\ClassReplacerRector:
$oldToNewClasses:
'PhpCsFixer\Fixer\DefinedFixerInterface': 'PhpCsFixer\Fixer\FixerInterface'
'PhpCsFixer\Fixer\DefinedFixerInterface': 'PhpCsFixer\Fixer\FixerInterface'
'PhpCsFixer\Fixer\ConfigurationDefinitionFixerInterface': 'PhpCsFixer\Fixer\ConfigurableFixerInterface'
# merge interfaces
# PhpCsFixer\Fixer\FixerInterface + PhpCsFixer\Fixer\DefinedFixerInterface => PhpCsFixer\Fixer\FixerInterface

View File

@ -1,3 +1,3 @@
services:
- Rector\Rector\Contrib\Nette\Bootstrap\RemoveConfiguratorConstantsRector
- Rector\Rector\Contrib\Nette\DI\SetInjectToAddTagRector
Rector\Rector\Contrib\Nette\Bootstrap\RemoveConfiguratorConstantsRector: ~
Rector\Rector\Contrib\Nette\DI\SetInjectToAddTagRector: ~

View File

@ -25,7 +25,7 @@ services:
'__construct':
'$cartStorage': 'Sylius\Component\Core\Storage\CartStorageInterface'
Rector\Rector\Dynamic\ReturnTypehintRector:
Rector\Rector\Dynamic\ReturnTypehintRector:
$returnTypehintByMethod:
# OrderInterface::getAdjustmentsRecursively and OrderItemInterface::getAdjustmentsRecursively return types changed from array to Collection
'Sylius\Component\Order\Model\OrderInterface':

View File

@ -4,7 +4,7 @@ services:
# @todo, use this and return typehint
# https://github.com/rectorphp/rector/blob/master/docs/DynamicRectors.md#change-parameters-type-hinting-according-to-the-parent-type
Rector\Rector\Dynamic\ReturnTypehintRector:
$returnTypehintClassAndMethod:
$typehintForMethodByClass:
# class
'Sylius\Bundle\AdminApiBundle\Model\ClientManager':
# method

View File

@ -4,7 +4,7 @@ services:
# @todo, use this and return typehint
# https://github.com/rectorphp/rector/blob/master/docs/DynamicRectors.md#change-parameters-type-hinting-according-to-the-parent-type
Rector\Rector\Dynamic\ReturnTypehintRector:
$returnTypehintClassAndMethod:
$typehintForMethodByClass:
# class
'Sylius\Bundle\CoreBundle\Templating\Helper\VariantResolverHelper':
# method