mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-20 06:38:46 +01:00
This commit is contained in:
parent
7256dbe667
commit
9fb4ff339d
@ -26,7 +26,10 @@ final class ContainerGetToConstructorInjectionRector extends AbstractToConstruct
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private $containerAwareParentTypes = [];
|
||||
private $containerAwareParentTypes = [
|
||||
'Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand',
|
||||
'Symfony\Bundle\FrameworkBundle\Controller\Controller',
|
||||
];
|
||||
|
||||
public function getDefinition(): RectorDefinition
|
||||
{
|
||||
|
@ -23,7 +23,10 @@ final class GetToConstructorInjectionRector extends AbstractToConstructorInjecti
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private $getMethodAwareTypes = [];
|
||||
private $getMethodAwareTypes = [
|
||||
'Symfony\Bundle\FrameworkBundle\Controller\Controller',
|
||||
'Symfony\Bundle\FrameworkBundle\Controller\ControllerTrait',
|
||||
];
|
||||
|
||||
public function getDefinition(): RectorDefinition
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user