We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d194a47 commit b95606eCopy full SHA for b95606e
src/Command/FixerApplication.php
@@ -244,7 +244,7 @@ public function log(string $message): void
244
}
245
246
$fixerProcess->start($loop);
247
- $fixerProcess->on('exit', static function ($exitCode) use ($output, $loop): void {
+ $fixerProcess->on('exit', function ($exitCode) use ($output, $loop): void {
248
$loop->stop();
249
if ($exitCode === null) {
250
return;
@@ -253,6 +253,7 @@ public function log(string $message): void
253
254
255
$output->writeln(sprintf('<fg=red>PHPStan Pro process exited with code %d.</>', $exitCode));
256
+ @unlink($this->fixerTmpDir . '/phar-info.json');
257
});
258
259
$loop->run();
0 commit comments