Skip to content

Commit 5e62e1e

Browse files
testing php 8.4
1 parent cda58ca commit 5e62e1e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
16+
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
1717
coverage-driver: [ 'pcov' ]
1818

1919
steps:
@@ -58,7 +58,7 @@ jobs:
5858
token: ${{ secrets.CODECOV_TOKEN }}
5959

6060
phar:
61-
runs-on: "ubuntu-20.04"
61+
runs-on: "ubuntu-22.04"
6262
needs: build
6363
steps:
6464
- uses: actions/checkout@v3
@@ -95,8 +95,7 @@ jobs:
9595
runs-on: "ubuntu-22.04"
9696
strategy:
9797
matrix:
98-
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
99-
98+
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
10099
steps:
101100
- name: Install PHP
102101
uses: shivammathur/setup-php@v2

src/CLI/TargetPhpVersion.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class TargetPhpVersion
1414
'8.1',
1515
'8.2',
1616
'8.3',
17+
'8.4',
1718
];
1819

1920
/** @var string|null */
@@ -23,7 +24,7 @@ private function __construct(string $version)
2324
{
2425
$versionNumbers = explode('.', $version);
2526
if (3 <= \count($versionNumbers)) {
26-
$version = $versionNumbers[0].'.'.$versionNumbers[1];
27+
$version = $versionNumbers[0] . '.' . $versionNumbers[1];
2728
}
2829

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

0 commit comments

Comments
 (0)