mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-16 05:44:59 +01:00
19 lines
572 B
PHP
19 lines
572 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Php80\Contract;
|
|
|
|
use PhpParser\Node;
|
|
use PhpParser\Node\Expr\BinaryOp;
|
|
use PhpParser\Node\Expr\BooleanNot;
|
|
use PhpParser\Node\Expr\FuncCall;
|
|
use Rector\Php80\ValueObject\StrStartsWith;
|
|
interface StrStartWithMatchAndRefactorInterface
|
|
{
|
|
public function match(\PhpParser\Node\Expr\BinaryOp $binaryOp) : ?\Rector\Php80\ValueObject\StrStartsWith;
|
|
/**
|
|
* @return FuncCall|BooleanNot|null
|
|
*/
|
|
public function refactorStrStartsWith(\Rector\Php80\ValueObject\StrStartsWith $strStartsWith) : ?\PhpParser\Node;
|
|
}
|