Skip to content

Commit 8acca82

Browse files
committed
Fix PHAR compilation
1 parent bfa057c commit 8acca82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/Console/PrepareCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private function fixComposerJson(string $buildDir): void
6363
{
6464
$json = json_decode($this->filesystem->read($buildDir . '/composer.json'), true);
6565

66-
unset($json['replace']);
66+
unset($json['replace']['phpstan/phpstan']);
6767
$json['name'] = 'phpstan/phpstan';
6868
$json['require']['php'] = '^7.4|^8.0';
6969

0 commit comments

Comments
 (0)