Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion src/CLI/TargetPhpVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -22,6 +23,7 @@ class TargetPhpVersion
'8.2',
'8.3',
'8.4',
'8.5',
];

private string $version;
Expand All @@ -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
Expand Down