mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-04-08 16:32:40 +02:00
Add ErrorHandler interface, as well as ErrorHandler\Throwing and ErrorHandler\Collecting. The error handler is passed to Parser::parse(). This supersedes the throwOnError option. NameResolver now accepts an ErrorHandler in the ctor.