mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-22 08:25:02 +02:00
fix syntax errors in levels
This commit is contained in:
parent
ed69b44b2b
commit
c21b76cd90
@ -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
|
||||
|
@ -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: ~
|
||||
|
@ -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':
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user