We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd69688 commit 86814eaCopy full SHA for 86814ea
1 file changed
src/Php.php
@@ -157,7 +157,7 @@ protected function convertMessage(string $message): string
157
158
protected function execute(string $file): array
159
{
160
- $process = new Process([$this->getCli(), '-l -d display_errors=1', $file]);
+ $process = new Process([$this->getCli(), '-d display_errors=1 -l', $file]);
161
$process->run();
162
163
if ($process->isSuccessful()) {
@@ -168,7 +168,6 @@ protected function execute(string $file): array
168
}
169
170
$output = $process->getOutput();
171
- \var_dump($output);
172
if (!$output) {
173
throw new \Exception('Could not check syntax', $process->getExitCode() ?: 0);
174
0 commit comments