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 051f1f1 commit ad58139Copy full SHA for ad58139
src/Command/SelfUpdateCommand.php
@@ -82,7 +82,7 @@ public function configure(): void
82
83
public function execute(InputInterface $input, OutputInterface $output): int
84
{
85
- if (! PieVersion::isPharBuild()) {
+ if (! PieVersion::isPharBuild() || Platform::isRunningStaticPhp()) {
86
$this->io->writeError('<comment>Aborting! You are not running a PHAR, cannot self-update.</comment>');
87
88
return Command::FAILURE;
0 commit comments