Skip to content

Commit

Permalink
Add PHP 8.4 (alpha build) tests support
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Jul 28, 2024
1 parent e464a6a commit 1608c86
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ParserInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ interface ParserInterface
* Parses sources into an abstract source tree (AST) or list of AST nodes.
*
* @return iterable<array-key, TNode>
* @throws ParserExceptionInterface an error occurs before source processing
*
* @throws ParserExceptionInterface An error occurs before source processing
* starts, when the given source cannot be recognized or if the
* parser settings contain errors
* @throws ParserRuntimeExceptionInterface an exception that occurs after
* parser settings contain errors.
* @throws ParserRuntimeExceptionInterface An exception that occurs after
* starting the parsing and indicates problems in the analyzed
* source
* source.
*/
public function parse(ReadableInterface $source): iterable;
}

0 comments on commit 1608c86

Please sign in to comment.