8000 [BackCompat|ObjectDeclarations]::get[Declaration]Name(): add extra tests by jrfnl · Pull Request #451 · PHPCSStandards/PHPCSUtils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[BackCompat|ObjectDeclarations]::get[Declaration]Name(): add extra tests #451

New issue

Have a question about this project? Sign up for a free GitHub a 8000 ccount 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

Merged
merged 1 commit into from
Apr 13, 2023

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0