Skip to content

Commit c3af432

Browse files
authored
Update Php.php
1 parent 01f879c commit c3af432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/lint/Php.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function checkSyntax($fileName, $checkIncludes = false)
9191
$fileName = realpath($fileName);
9292

9393
// Get the shell output from the syntax check command
94-
$output = shell_exec(sprintf('%s -l "%s"', (new \webfan\hps\patch\PhpBinFinder())->find(), $fileName));
94+
$output = shell_exec(sprintf('%s -l "%s"', (new \Webfan\Helper\PhpBinFinder())->find(), $fileName));
9595

9696
// Try to find the parse error text and chop it off
9797
$syntaxError = preg_replace("/Errors parsing.*$/", "", $output, -1, $count);

0 commit comments

Comments
 (0)