diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ddae582..4baaa8b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] coverage-driver: [ 'pcov' ] steps: @@ -97,7 +97,7 @@ jobs: runs-on: "ubuntu-22.04" strategy: matrix: - php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] steps: - name: Install PHP uses: shivammathur/setup-php@v2 diff --git a/src/CLI/TargetPhpVersion.php b/src/CLI/TargetPhpVersion.php index dc0a2571..64d553fd 100644 --- a/src/CLI/TargetPhpVersion.php +++ b/src/CLI/TargetPhpVersion.php @@ -14,6 +14,7 @@ class TargetPhpVersion public const PHP_8_2 = '8.2'; public const PHP_8_3 = '8.3'; public const PHP_8_4 = '8.4'; + public const PHP_8_5 = '8.5'; public const VALID_PHP_VERSIONS = [ '7.4', @@ -22,6 +23,7 @@ class TargetPhpVersion '8.2', '8.3', '8.4', + '8.5', ]; private string $version; @@ -42,7 +44,7 @@ private function __construct(string $version) public static function latest(): self { - return new self(self::PHP_8_4); + return new self(self::PHP_8_5); } public static function create(?string $version): self