Skip to content

Commit e850135

Browse files
committed
Unit test for #2990
1 parent fc2f2dd commit e850135

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.1.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,6 @@ class TestAlternativeControlStructures {
296296

297297
$var_after_class_in_global_space = 1;
298298
do_something_else();
299+
300+
// Intentional syntax error.
301+
return array_map(

0 commit comments

Comments
 (0)