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

Squiz/SelfMemberReference: bug fix - false negative with namespace keyword as operator #587

Commits on Aug 5, 2024

  1. Squiz/SelfMemberReference: bug fix - false negative with namespace ke…

    …yword as operator
    
    > The `namespace` keyword can both be used for namespace declarations as well as as an operator - "magic keyword" - to resolve to the current namespace.
    > See: https://www.php.net/manual/en/language.namespaces.nsconstants.php#example-298
    
    > This last case is not correctly taken into account when determining the current namespace, which leads to false negatives.
    
    Fixed now.
    
    Includes test.
    
    Fixes 553
    jrfnl committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    d6a6cc9 View commit details
    Browse the repository at this point in the history