Skip to content

Commit

Permalink
Update BaselineNeonErrorFormatterIntegrationTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Nov 27, 2024
1 parent 2284606 commit 68ea959
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private function runPhpStan(
throw new ShouldNotHappenException();
}
chdir(__DIR__ . '/../../../..');
exec(sprintf('%s %s clear-result-cache %s', escapeshellarg(PHP_BINARY), 'bin/phpstan', $configFile !== null ? '--configuration ' . escapeshellarg($configFile) : '') . ' 2>&1', $clearResultCacheOutputLines, $clearResultCacheExitCode);
exec(sprintf('%s %s clear-result-cache %s 2>&1', escapeshellarg(PHP_BINARY), 'bin/phpstan', $configFile !== null ? '--configuration ' . escapeshellarg($configFile) : ''), $clearResultCacheOutputLines, $clearResultCacheExitCode);
if ($clearResultCacheExitCode !== 0) {
throw new ShouldNotHappenException('Could not clear result cache:' . "\n" . implode("\n", $clearResultCacheOutputLines));
}
Expand Down

0 comments on commit 68ea959

Please sign in to comment.