@@ -151,6 +151,30 @@ public static function dataParenthesesWithOwner()
151151 'testMarker ' => '/* testAnonClassParenthesesOwner */ ' ,
152152 'tokenCode ' => T_ANON_CLASS ,
153153 ],
154+ 'isset ' => [
155+ 'testMarker ' => '/* testIssetParenthesesOwner */ ' ,
156+ 'tokenCode ' => T_ISSET ,
157+ ],
158+ 'empty ' => [
159+ 'testMarker ' => '/* testEmptyParenthesesOwner */ ' ,
160+ 'tokenCode ' => T_EMPTY ,
161+ ],
162+ 'unset ' => [
163+ 'testMarker ' => '/* testUnsetParenthesesOwner */ ' ,
164+ 'tokenCode ' => T_UNSET ,
165+ ],
166+ 'eval ' => [
167+ 'testMarker ' => '/* testEvalParenthesesOwner */ ' ,
168+ 'tokenCode ' => T_EVAL ,
169+ ],
170+ 'exit ' => [
171+ 'testMarker ' => '/* testExitParenthesesOwner */ ' ,
172+ 'tokenCode ' => T_EXIT ,
173+ ],
174+ 'die ' => [
175+ 'testMarker ' => '/* testDieParenthesesOwner */ ' ,
176+ 'tokenCode ' => T_EXIT ,
177+ ],
154178
155179 'if - nested outer ' => [
156180 'testMarker ' => '/* testNestedOuterIfParenthesesOwner */ ' ,
@@ -237,24 +261,6 @@ public static function dataParenthesesWithoutOwner()
237261 'function call ' => [
238262 'testMarker ' => '/* testFunctionCallParenthesesOpener */ ' ,
239263 ],
240- 'isset ' => [
241- 'testMarker ' => '/* testIssetParenthesesOpener */ ' ,
242- ],
243- 'empty ' => [
244- 'testMarker ' => '/* testEmptyParenthesesOpener */ ' ,
245- ],
246- 'unset ' => [
247- 'testMarker ' => '/* testUnsetParenthesesOpener */ ' ,
248- ],
249- 'eval ' => [
250- 'testMarker ' => '/* testEvalParenthesesOpener */ ' ,
251- ],
252- 'exit ' => [
253- 'testMarker ' => '/* testExitParenthesesOpener */ ' ,
254- ],
255- 'die ' => [
256- 'testMarker ' => '/* testDieParenthesesOpener */ ' ,
257- ],
258264 'function call - nested 1 ' => [
259265 'testMarker ' => '/* testNestedFunctionCallAParenthesesOpener */ ' ,
260266 ],
@@ -306,6 +312,14 @@ public static function dataParenthesesOwnerWithoutParentheses()
306312 'testMarker ' => '/* testAnonClassNoParentheses */ ' ,
307313 'tokenCode ' => T_ANON_CLASS ,
308314 ],
315+ 'exit without parentheses ' => [
316+ 'testMarker ' => '/* testExitNoParentheses */ ' ,
317+ 'tokenCode ' => T_EXIT ,
318+ ],
319+ 'die without parentheses ' => [
320+ 'testMarker ' => '/* testDieNoParentheses */ ' ,
321+ 'tokenCode ' => T_EXIT ,
322+ ],
309323 ];
310324
311325 }//end dataParenthesesOwnerWithoutParentheses()
0 commit comments