Skip to content

Commit befab16

Browse files
Merge pull request #14 from virta-ltd/php-8.4
Allow PHP 8.4 also
2 parents 64548c2 + b174e81 commit befab16

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/code_checks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
php: ['8.1', '8.2', '8.3']
15+
php: ['8.1', '8.2', '8.3', '8.4']
1616

1717
name: PHP ${{ matrix.php }} tests
1818
steps:
@@ -33,4 +33,8 @@ jobs:
3333
- name: Static analysis for tests
3434
run: ./vendor/bin/phpstan analyse -l 5 test
3535
- name: Code Style
36+
if: ${{ matrix.php != '8.4' }}
3637
run: ./vendor/bin/php-cs-fixer fix --dry-run --verbose --config .php-cs-fixer.dist.php ./src ./test
38+
- name: Code Style
39+
if: ${{ matrix.php == '8.4' }}
40+
run: PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --dry-run --verbose --config .php-cs-fixer.dist.php ./src ./test

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"homepage": "https://github.com/genkgo/archive-stream",
77
"license": "MIT",
88
"require": {
9-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
9+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
1010
"psr/http-message": "~1.0 || ~2.0",
1111
"ext-gmp": "*"
1212
},

0 commit comments

Comments
 (0)