Searched refs:getErrors (Results 1 – 10 of 10) sorted by relevance
11 $this->assertEmpty($errorHandler->getErrors());16 $this->assertSame([$e1, $e2], $errorHandler->getErrors());20 $this->assertEmpty($errorHandler->getErrors());
26 public function getErrors(): array { function in PhpParser\\ErrorHandler\\Collecting
24 $errors = $errorHandler->getErrors();
37 foreach ($errors->getErrors() as $error) {
42 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.
1020 * Removed `throw_on_error` parser option and `Parser::getErrors()` method. Use the `ErrorHandler`
59 foreach ($errorHandler->getErrors() as $error) {
48 foreach ($errorHandler->getErrors() as $error) {
88 $errors = $collector->getErrors();
164 $errors = $errorHandler->getErrors();
Completed in 29 milliseconds