init MethodArgumentChangerRector

This commit is contained in:
TomasVotruba 2017-10-11 13:10:44 +02:00
parent e14f8278a4
commit 7f027bd571

View File

@ -0,0 +1,27 @@
<?php declare(strict_types=1);
namespace Rector\Rector\Dynamic;
use PhpParser\Node;
use Rector\Rector\AbstractRector;
/**
* @todo collect cases and prepare tests for them
*
* Possible options so far:
* - new argument
* - argument removed
* - new default value for argument
*/
final class MethodArgumentChangerRector extends AbstractRector
{
public function isCandidate(Node $node): bool
{
return true;
}
public function refactor(Node $node): ?Node
{
return null;
}
}