Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 13, 2023

... documenting how the OO hierarchy keywords when used as function/method name are handled.

  • The ObjectDeclarations::getName() method handles these correctly.
  • The PHPCS native File::getDeclarationName() and the related BackCompat::getDeclarationName() methods do not handle these correctly.

Related to upstream PR squizlabs/PHP_CodeSniffer#3797

... documenting how the OO hierarchy keywords when used as function/method name are handled.

* The `ObjectDeclarations::getName()` method handles these correctly.
* The PHPCS native `File::getDeclarationName()` and the related `BackCompat::getDeclarationName()` methods do not handle these correctly.
@jrfnl jrfnl added this to the 1.0.x Next milestone Apr 13, 2023
@jrfnl jrfnl merged commit bcefeb2 into develop Apr 13, 2023
@jrfnl jrfnl deleted the backcompat/getdeclarationname-add-extra-tests branch April 13, 2023 02:02
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