Skip to content

Commit 25a2e44

Browse files
committed
Tests: update the Tokenizer/UndoNamespacedNameSingleToken test
... to allow for the new `T_TYPE_UNION` token.
1 parent 53aa409 commit 25a2e44

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/Core/Tokenizer/UndoNamespacedNameSingleTokenTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -657,9 +657,8 @@ public function dataIdentifierTokenization()
657657
'type' => 'T_STRING',
658658
'content' => 'Name',
659659
],
660-
// TODO: change this to T_TYPE_UNION when #3032 is merged.
661660
[
662-
'type' => 'T_BITWISE_OR',
661+
'type' => 'T_TYPE_UNION',
663662
'content' => '|',
664663
],
665664
[
@@ -708,9 +707,8 @@ public function dataIdentifierTokenization()
708707
'type' => 'T_STRING',
709708
'content' => 'Unqualified',
710709
],
711-
// TODO: change this to T_TYPE_UNION when #3032 is merged.
712710
[
713-
'type' => 'T_BITWISE_OR',
711+
'type' => 'T_TYPE_UNION',
714712
'content' => '|',
715713
],
716714
[

0 commit comments

Comments
 (0)