rector/rules/Php80/Contract/StrStartWithMatchAndRefactorInterface.php

23 lines
641 B
PHP
Raw Normal View History

2020-04-23 23:49:56 +02:00
<?php
declare (strict_types=1);
2020-04-23 23:49:56 +02:00
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;
2020-04-23 23:49:56 +02:00
interface StrStartWithMatchAndRefactorInterface
{
/**
* @param \PhpParser\Node\Expr\BinaryOp $binaryOp
*/
public function match($binaryOp) : ?\Rector\Php80\ValueObject\StrStartsWith;
2020-04-23 23:49:56 +02:00
/**
* @return FuncCall|BooleanNot|null
* @param \Rector\Php80\ValueObject\StrStartsWith $strStartsWith
2020-04-23 23:49:56 +02:00
*/
public function refactorStrStartsWith($strStartsWith) : ?\PhpParser\Node;
2020-04-23 23:49:56 +02:00
}