mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-20 18:12:24 +00:00
fix php80 set
This commit is contained in:
parent
b33ff2649f
commit
f113d3d103
|
@ -88,5 +88,7 @@ PHP
|
|||
|
||||
return $strStartWithMatchAndRefactor->refactor($strStartsWithValueObject);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@ declare(strict_types=1);
|
|||
namespace Rector\Php80\Rector\NotIdentical;
|
||||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\BinaryOp\Identical;
|
||||
use PhpParser\Node\Expr\BinaryOp\NotIdentical;
|
||||
use PhpParser\Node\Expr\FuncCall;
|
||||
use PhpParser\Node\Name;
|
||||
|
@ -59,7 +58,7 @@ PHP
|
|||
*/
|
||||
public function getNodeTypes(): array
|
||||
{
|
||||
return [NotIdentical::class, Identical::class];
|
||||
return [NotIdentical::class];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user