Skip to content

Commit cb61c4a

Browse files
authored
Merge pull request #211 from mpyw/feature/php-85-ci
Add PHP 8.3, 8.4, and 8.5 to CI matrix
2 parents 4c95dfa + 30837ca commit cb61c4a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
php:
1919
- '8.1'
2020
- '8.2'
21+
- '8.3'
22+
- '8.4'
23+
- '8.5'
2124
steps:
2225
- uses: actions/checkout@v4
2326

@@ -42,14 +45,19 @@ jobs:
4245
if: steps.composer-cache.outputs.cache-hit != 'true'
4346
run: composer install --prefer-dist --no-progress
4447

48+
# Skip linter on PHP 8.4+:
49+
# PHPStan's better-reflection has type compatibility issues with
50+
# ReflectionProperty::IS_READONLY constant type change in PHP 8.4+.
51+
# See: https://github.com/phpstan/phpstan/issues/10182
4552
- name: Run linter
53+
if: matrix.php != '8.4' && matrix.php != '8.5'
4654
run: composer run-script analyse
4755

4856
- name: Run test suite
4957
run: composer run-script codecov
5058

5159
- uses: codecov/codecov-action@v5
52-
if: ${{ matrix.php }} == '8.2'
60+
if: ${{ matrix.php }} == '8.5'
5361
with:
5462
token: ${{ secrets.CODECOV_TOKEN }}
5563
file: ./coverage.xml

0 commit comments

Comments
 (0)