Skip to content

Commit

Permalink
Helper/TokenHelper: remove use of T_ARRAY_HINT
Browse files Browse the repository at this point in the history
This token was deprecated in PHPCS 3.3.0 and has been unused in PHPCS since, so no need to look for it as the minimum PHPCS version for this standard is PHPCS 3.9.0.
  • Loading branch information
jrfnl authored and kukulich committed Nov 7, 2024
1 parent 8a3f887 commit 2c6f310
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SlevomatCodingStandard/Helpers/TokenHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use function count;
use const T_ANON_CLASS;
use const T_ARRAY;
use const T_ARRAY_HINT;
use const T_BREAK;
use const T_CALLABLE;
use const T_CLASS;
Expand Down Expand Up @@ -502,7 +501,6 @@ public static function getOnlyTypeHintTokenCodes(): array
[
T_SELF,
T_PARENT,
T_ARRAY_HINT,
T_CALLABLE,
T_FALSE,
T_TRUE,
Expand Down

0 comments on commit 2c6f310

Please sign in to comment.