Skip to content

Tokens: removed unused tokens#977

Merged
jrfnl merged 1 commit into4.xfrom
phpcs-4.0/feature/sq-1997-tokens-remove-unused-tokens
Apr 14, 2025
Merged

Tokens: removed unused tokens#977
jrfnl merged 1 commit into4.xfrom
phpcs-4.0/feature/sq-1997-tokens-remove-unused-tokens

Conversation

@jrfnl
Copy link
Copy Markdown
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