mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
init ModalToGetSetRector
This commit is contained in:
parent
eed4411b9a
commit
9c50f52e00
@ -39,6 +39,7 @@
|
|||||||
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
|
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
|
||||||
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
||||||
"Rector\\Symfony\\": "packages/Symfony/src",
|
"Rector\\Symfony\\": "packages/Symfony/src",
|
||||||
|
"Rector\\CakePHP\\": "packages/CakePHP/src",
|
||||||
"Rector\\Silverstripe\\": "packages/Silverstripe/src",
|
"Rector\\Silverstripe\\": "packages/Silverstripe/src",
|
||||||
"Rector\\Sensio\\": "packages/Sensio/src",
|
"Rector\\Sensio\\": "packages/Sensio/src",
|
||||||
"Rector\\Sylius\\": "packages/Sylius/src",
|
"Rector\\Sylius\\": "packages/Sylius/src",
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Rector\CakePHP\Rector\MethodCall;
|
||||||
|
|
||||||
|
use PhpParser\Node;
|
||||||
|
use Rector\Rector\AbstractRector;
|
||||||
|
use Rector\RectorDefinition\RectorDefinition;
|
||||||
|
|
||||||
|
final class ModalToGetSetRector extends AbstractRector
|
||||||
|
{
|
||||||
|
public function getDefinition(): RectorDefinition
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string[]
|
||||||
|
*/
|
||||||
|
public function getNodeTypes(): array
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public function refactor(Node $node): ?Node
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user