Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 13, 2020

The PHP 8 identifier name tokens can occur as part of a (union) type declaration for a function parameter, as well as within default values.

This commit adjusts the FunctionDeclarations::getParameters() method to allow for these new tokens.

The existing unit tests already cover this change.

…dentifier name tokenization

The PHP 8 identifier name tokens can occur as part of a (union) type declaration for a function parameter, as well as within default values.

This commit adjusts the `FunctionDeclarations::getParameters()` method to allow for these new tokens.

The existing unit tests already cover this change.
@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Sep 13, 2020
@jrfnl jrfnl merged commit d874fd9 into develop Sep 13, 2020
@jrfnl jrfnl deleted the php-8.0/functiondeclarations-getparameters-identifier-name-compatibility branch September 13, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants