Skip to content

Remove deprecated T_ARRAY_HINT and T_RETURN_TYPE tokens #1997

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

Closed
gsherwood opened this issue Apr 19, 2018 · 1 comment
Closed

Remove deprecated T_ARRAY_HINT and T_RETURN_TYPE tokens #1997

gsherwood opened this issue Apr 19, 2018 · 1 comment
Milestone

Comments

@gsherwood
Copy link
Member

Both just need to be removed from the Tokens util class as they are not used anywhere inside PHPCS itself.

@gsherwood gsherwood added this to the 4.0.0 milestone Apr 19, 2018
gsherwood added a commit that referenced this issue Jan 31, 2020
@gsherwood
Copy link
Member Author

These have now been removed.

wmfgerrit pushed a commit to wikimedia/mediawiki-tools-codesniffer that referenced this issue Apr 8, 2021
The token T_RETURN_TYPE is no longer used by codesniffer
and will be removed with the next major release version 4
squizlabs/PHP_CodeSniffer#1997

Change-Id: I1e4b1e3a440a80eef7197ebfef6b769a7baec9ba
@jrfnl jrfnl reopened this Apr 14, 2025
@jrfnl jrfnl closed this as completed Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants