We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717ca73 commit ec01a65Copy full SHA for ec01a65
src/Command/FixerApplication.php
@@ -381,6 +381,8 @@ private function downloadPhar(
381
fwrite($pharPathResource, $chunk);
382
$progressBar->setProgress($bytes);
383
});
384
+ }, static function (\Throwable $e) use ($output): void {
385
+ $output->writeln(sprintf('<fg=red>Could not download the PHPStan Pro executable:</> %s', $e->getMessage()));
386
387
388
$loop->run();
0 commit comments