Skip to content

Commit e6d9cd0

Browse files
committed
Initialize variable.
1 parent 8aa47fd commit e6d9cd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

classes/tests.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public function checkSyntax($filePath) {
138138
}
139139
exec($binary.' -l '.$filePath.' 2>&1', $output);
140140

141+
$syntax = [];
141142
$errorMsgLine = ' in '.$filePath;
142143
if (count($output)) {
143144
foreach ($output as $string) {

0 commit comments

Comments
 (0)