Skip to content

Commit 4537ef1

Browse files
committed
Fix PrepareCommand::fixComposerJson()
1 parent 601995d commit 4537ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/Console/PrepareCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private function fixComposerJson(string $buildDir): void
6464

6565
unset($json['replace']);
6666
$json['name'] = 'phpstan/phpstan';
67-
$json['require']['php'] = '^7.2';
67+
$json['require']['php'] = '^7.2|^8.0';
6868

6969
// simplify autoload (remove not packed build directory]
7070
$json['autoload']['psr-4']['PHPStan\\'] = 'src/';

0 commit comments

Comments
 (0)