Skip to content

Commit

Permalink
Remove semicolon so that array is seen as T_ARRAY
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoprimo committed May 14, 2024
1 parent eeb3c2f commit d613dc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// This should be the only test in this file.
// Testing that the sniff is *not* triggered.

$var = array;
$var = array
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public function getErrorList($testFile='')
2 => 1,
9 => 1,
];
case 'DisallowLongArraySyntaxUnitTest.3.inc':
return [
7 => 1,
];
default:
return [];
}//end switch
Expand Down

0 comments on commit d613dc4

Please sign in to comment.