mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-12 06:02:23 +00:00
7e7a2f067a
476cfb00cb
disable fallback for now
17 lines
422 B
PHP
17 lines
422 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Contract\Rector;
|
|
|
|
use PhpParser\Node;
|
|
use PhpParser\NodeTraverser;
|
|
use PHPStan\Analyser\Scope;
|
|
interface ScopeAwareRectorInterface extends \Rector\Contract\Rector\RectorInterface
|
|
{
|
|
/**
|
|
* Process Node of matched type with its PHPStan scope
|
|
* @return Node|Node[]|null|NodeTraverser::*
|
|
*/
|
|
public function refactorWithScope(Node $node, Scope $scope);
|
|
}
|