Skip to content

Commit 104ac00

Browse files
authored
Merge pull request #1347 from PHPCSStandards/feature/tests-update-for-void-cast
TokenNameTest: add T_VOID_CAST (missing from data provider)
2 parents 07d78d5 + bd60344 commit 104ac00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Core/Util/Tokens/TokenNameTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ public static function dataPolyfilledPHPNativeTokens()
152152
'tokenCode' => T_PRIVATE_SET,
153153
'expected' => 'T_PRIVATE_SET',
154154
],
155+
156+
'PHP 8.5 native token, polyfilled: T_VOID_CAST' => [
157+
'tokenCode' => T_VOID_CAST,
158+
'expected' => 'T_VOID_CAST',
159+
],
155160
];
156161
}
157162
}

0 commit comments

Comments
 (0)