Skip to content

Commit

Permalink
Fix PrepareCommand::fixComposerJson()
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 11, 2024
1 parent 601995d commit 4537ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/Console/PrepareCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private function fixComposerJson(string $buildDir): void

unset($json['replace']);
$json['name'] = 'phpstan/phpstan';
$json['require']['php'] = '^7.2';
$json['require']['php'] = '^7.2|^8.0';

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

0 comments on commit 4537ef1

Please sign in to comment.