Skip to content

Commit 2ff199b

Browse files
authored
Add PHP 8.4 support, drop PHP 8.2 (#43)
1 parent ddb19b1 commit 2ff199b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
php-version:
20-
- "8.2"
20+
- "8.3"
2121

2222
steps:
2323
- uses: "actions/checkout@v4"
@@ -27,8 +27,8 @@ jobs:
2727
php-version: "${{ matrix.php-version }}"
2828
ini-values: "${{ env.INI_VALUES }}"
2929
tools: composer-normalize,composer-require-checker,composer-unused
30-
- uses: "ramsey/composer-install@v2"
31-
30+
- uses: "ramsey/composer-install@v3"
31+
3232
- run: "composer validate --strict"
3333
- run: "composer-normalize --dry-run"
3434
- run: "composer-require-checker check --config-file=$(realpath composer-require-checker.json)"
@@ -40,11 +40,11 @@ jobs:
4040
strategy:
4141
matrix:
4242
php-version:
43-
- "8.3"
43+
- "8.4"
4444
code-coverage:
4545
- "none"
4646
include:
47-
- php-version: "8.2"
47+
- php-version: "8.3"
4848
code-coverage: "pcov"
4949

5050
steps:
@@ -54,7 +54,7 @@ jobs:
5454
coverage: "${{ matrix.code-coverage }}"
5555
php-version: "${{ matrix.php-version }}"
5656
ini-values: "${{ env.INI_VALUES }}"
57-
- uses: "ramsey/composer-install@v2"
57+
- uses: "ramsey/composer-install@v3"
5858

5959
- run: "vendor/bin/phpunit --no-coverage --no-logging"
6060
if: ${{ matrix.code-coverage == 'none' }}
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
matrix:
7272
php-version:
73-
- "8.2"
73+
- "8.3"
7474

7575
steps:
7676
- uses: "actions/checkout@v4"
@@ -79,7 +79,7 @@ jobs:
7979
coverage: "none"
8080
php-version: "${{ matrix.php-version }}"
8181
ini-values: "${{ env.INI_VALUES }}"
82-
- uses: "ramsey/composer-install@v2"
82+
- uses: "ramsey/composer-install@v3"
8383

8484
- run: "vendor/bin/php-cs-fixer fix --verbose --dry-run --diff"
8585

@@ -89,7 +89,7 @@ jobs:
8989
strategy:
9090
matrix:
9191
php-version:
92-
- "8.2"
92+
- "8.3"
9393

9494
steps:
9595
- uses: "actions/checkout@v4"
@@ -98,6 +98,6 @@ jobs:
9898
coverage: "none"
9999
php-version: "${{ matrix.php-version }}"
100100
ini-values: "${{ env.INI_VALUES }}"
101-
- uses: "ramsey/composer-install@v2"
101+
- uses: "ramsey/composer-install@v3"
102102

103103
- run: "vendor/bin/phpstan analyse --no-progress --error-format=github"

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
}
1212
],
1313
"require": {
14-
"php": "~8.2.0 || ~8.3.0"
14+
"php": "~8.3.0 || ~8.4.0"
1515
},
1616
"require-dev": {
1717
"phpstan/phpstan": "^1.12.4",
1818
"phpstan/phpstan-phpunit": "^1.4.0",
1919
"phpstan/phpstan-strict-rules": "^1.6.1",
2020
"phpunit/phpunit": "^11.3.6",
21-
"slam/php-cs-fixer-extensions": "^3.11.1",
21+
"slam/php-cs-fixer-extensions": "^3.12.0",
2222
"symfony/console": "^7.1.5"
2323
},
2424
"autoload": {

0 commit comments

Comments
 (0)