Skip to content

Commit 5d6795c

Browse files
authored
[1.x] chore: PHP 8.4 support (#4105)
* chore: php8.4 testing * update laminas * chore: exclude phpstan on php8.4
1 parent d61c3cf commit 5d6795c

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/REUSABLE_backend.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
description: Versions of PHP to test with. Should be array of strings encoded as JSON array
2626
type: string
2727
required: false
28-
default: '["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]'
28+
default: '["7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]'
2929

3030
php_extensions:
3131
description: PHP extensions to install.
@@ -105,6 +105,8 @@ jobs:
105105
php_ini_values: error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
106106
- php: 8.3
107107
php_ini_values: error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
108+
- php: 8.4
109+
php_ini_values: error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
108110

109111
# To reduce number of actions, we exclude some PHP versions from running with some DB versions.
110112
exclude:
@@ -177,6 +179,8 @@ jobs:
177179
strategy:
178180
matrix:
179181
php: ${{ fromJSON(inputs.php_versions) }}
182+
exclude:
183+
- php: 8.4
180184

181185
name: 'PHPStan PHP ${{ matrix.php }}'
182186

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@
112112
"illuminate/view": "^8.0",
113113
"intervention/image": "2.5.* || ^2.6.1",
114114
"jenssegers/agent": "^2.6",
115-
"laminas/laminas-diactoros": "^2.4.1",
116-
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0",
117-
"laminas/laminas-stratigility": "^3.2.2",
115+
"laminas/laminas-diactoros": "^2.4.1 || ^3.0.0",
116+
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0 || ^3.0.0",
117+
"laminas/laminas-stratigility": "^3.2.2 || ^4.0.0",
118118
"league/flysystem": "^1.0.11",
119119
"matthiasmullie/minify": "^1.3",
120120
"middlewares/base-path": "^2.0.1",

framework/core/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
"illuminate/view": "^8.0",
6262
"intervention/image": "2.5.* || ^2.6.1",
6363
"jenssegers/agent": "^2.6",
64-
"laminas/laminas-diactoros": "^2.4.1",
65-
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0",
66-
"laminas/laminas-stratigility": "^3.2.2",
64+
"laminas/laminas-diactoros": "^2.4.1 || ^3.0.0",
65+
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0 || ^3.0.0",
66+
"laminas/laminas-stratigility": "^3.2.2 || ^4.0.0",
6767
"league/flysystem": "^1.0.11",
6868
"matthiasmullie/minify": "^1.3",
6969
"middlewares/base-path": "^2.0.1",

0 commit comments

Comments
 (0)