Skip to content

Commit

Permalink
[1.x] chore: PHP 8.4 support (#4105)
Browse files Browse the repository at this point in the history
* chore: php8.4 testing

* update laminas

* chore: exclude phpstan on php8.4
  • Loading branch information
imorland authored Nov 19, 2024
1 parent d61c3cf commit 5d6795c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/REUSABLE_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
description: Versions of PHP to test with. Should be array of strings encoded as JSON array
type: string
required: false
default: '["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]'
default: '["7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]'

php_extensions:
description: PHP extensions to install.
Expand Down Expand Up @@ -105,6 +105,8 @@ jobs:
php_ini_values: error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
- php: 8.3
php_ini_values: error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
- php: 8.4
php_ini_values: error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED

# To reduce number of actions, we exclude some PHP versions from running with some DB versions.
exclude:
Expand Down Expand Up @@ -177,6 +179,8 @@ jobs:
strategy:
matrix:
php: ${{ fromJSON(inputs.php_versions) }}
exclude:
- php: 8.4

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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@
"illuminate/view": "^8.0",
"intervention/image": "2.5.* || ^2.6.1",
"jenssegers/agent": "^2.6",
"laminas/laminas-diactoros": "^2.4.1",
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0",
"laminas/laminas-stratigility": "^3.2.2",
"laminas/laminas-diactoros": "^2.4.1 || ^3.0.0",
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0 || ^3.0.0",
"laminas/laminas-stratigility": "^3.2.2 || ^4.0.0",
"league/flysystem": "^1.0.11",
"matthiasmullie/minify": "^1.3",
"middlewares/base-path": "^2.0.1",
Expand Down
6 changes: 3 additions & 3 deletions framework/core/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
"illuminate/view": "^8.0",
"intervention/image": "2.5.* || ^2.6.1",
"jenssegers/agent": "^2.6",
"laminas/laminas-diactoros": "^2.4.1",
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0",
"laminas/laminas-stratigility": "^3.2.2",
"laminas/laminas-diactoros": "^2.4.1 || ^3.0.0",
"laminas/laminas-httphandlerrunner": "^1.2.0 || ^2.3.0 || ^3.0.0",
"laminas/laminas-stratigility": "^3.2.2 || ^4.0.0",
"league/flysystem": "^1.0.11",
"matthiasmullie/minify": "^1.3",
"middlewares/base-path": "^2.0.1",
Expand Down

0 comments on commit 5d6795c

Please sign in to comment.