Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleorselli committed Feb 8, 2025
1 parent 07ca36f commit 5f303eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CLI/TargetPhpVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
class TargetPhpVersion
{
public const VALID_PHP_VERSIONS = [
'7.1',
'7.2',
'7.3',
'7.4',
Expand All @@ -26,7 +25,7 @@ private function __construct(string $version)
{
$versionNumbers = explode('.', $version);
if (3 <= \count($versionNumbers)) {
$version = $versionNumbers[0].'.'.$versionNumbers[1];
$version = $versionNumbers[0] . '.' . $versionNumbers[1];
}

if (!\in_array($version, self::VALID_PHP_VERSIONS)) {
Expand Down

0 comments on commit 5f303eb

Please sign in to comment.