mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00:00
15 lines
306 B
PHP
15 lines
306 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace PhpParser;
|
|
|
|
interface ErrorHandler
|
|
{
|
|
/**
|
|
* Handle an error generated during lexing, parsing or some other operation.
|
|
*
|
|
* @param Error $error The error that needs to be handled
|
|
*/
|
|
public function handleError(\PhpParser\Error $error);
|
|
}
|