Skip to content

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