Home
last modified time | relevance | path

Searched refs:getErrors (Results 1 – 10 of 10) sorted by relevance

/PHP-Parser/test/PhpParser/ErrorHandler/
H A DCollectingTest.php11 $this->assertEmpty($errorHandler->getErrors());
16 $this->assertSame([$e1, $e2], $errorHandler->getErrors());
20 $this->assertEmpty($errorHandler->getErrors());
/PHP-Parser/lib/PhpParser/ErrorHandler/
H A DCollecting.php26 public function getErrors(): array { function in PhpParser\\ErrorHandler\\Collecting
/PHP-Parser/test/PhpParser/
H A DLexerTest.php24 $errors = $errorHandler->getErrors();
H A DCodeParsingTest.php37 foreach ($errors->getErrors() as $error) {
/PHP-Parser/
H A DUPGRADE-3.0.md42 creating the parser, while collected errors were retrieved using the `getErrors()` method:
51 $errors = $parser->getErrors();
58 Both the `throwOnError` option and the `getErrors()` method have been removed in PHP-Parser 3.0.
68 handleErrors($errorHandler->getErrors());
139 * `Parser::getErrors()`. Use `ErrorHandler\Collecting` instead.
H A DCHANGELOG.md1020 * Removed `throw_on_error` parser option and `Parser::getErrors()` method. Use the `ErrorHandler`
/PHP-Parser/bin/
H A Dphp-parse59 foreach ($errorHandler->getErrors() as $error) {
/PHP-Parser/doc/component/
H A DError_handling.markdown48 foreach ($errorHandler->getErrors() as $error) {
/PHP-Parser/lib/PhpParser/Lexer/
H A DEmulative.php88 $errors = $collector->getErrors();
/PHP-Parser/test/PhpParser/Lexer/
H A DEmulativeTest.php164 $errors = $errorHandler->getErrors();

Completed in 13 milliseconds