Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collections::returnTypeTokens[BC](): support the PHP 8 identifier name tokens #208

Commits on Sep 13, 2020

  1. Collections::returnTypeTokens[BC](): support the PHP 8 identifier nam…

    …e tokens
    
    Includes adjusted unit test.
    
    This commit implicitly adds support for PHP 8 identifier name tokens to the `FunctionDeclarations::getProperties()`, the `Operators::isTypeUnion()`, the `FunctionDeclarations::getArrowFunctionOpenClose()` and by extension the `FunctionDeclarations::isArrowFunction()` method.
    
    Includes adding additional unit tests for these methods in those cases where any of the identifier name types (fully qualified, partially qualified, namespace relative or unqualified) wasn't covered yet.
    
    This commit also _silently_ adds support for PHP 8 identifier name tokens to the `BCFile::getMethodProperties()` method. The PHP 8 identifier name tokens are not supported yet in PHPCS itself and until they are, the fact that the `BCFile::getMethodProperties()` method supports them should be regarded as an artefact and not as official support.
    jrfnl committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    7242ea5 View commit details
    Browse the repository at this point in the history