Skip to content

Tokens: removed unused tokens #977

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 14, 2025

Description

Both of these were deprecated in PHPCS 3.3.0 and have been unused since.

Suggested changelog entry

Removed:

  • The unused T_ARRAY_HINT token.
  • The unused T_RETURN_TYPE token.

Related issues/external references

Fixes squizlabs/PHP_CodeSniffer#1997

Related to #6

Both of these were deprecated in PHPCS 3.3.0 and have been unused since.

Fixes squizlabs/PHP_CodeSniffer 1997

Related to 6
@jrfnl jrfnl merged commit 72ad3e1 into 4.x Apr 14, 2025
62 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/sq-1997-tokens-remove-unused-tokens branch April 14, 2025 14:28
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.

4 participants