Skip to content

Commit

Permalink
Merge pull request #45 from gsteel/PHP-8.3
Browse files Browse the repository at this point in the history
Add support for PHP 8.3
  • Loading branch information
Ocramius authored Nov 21, 2023
2 parents 9721c3a + 8c6d57a commit 83b3a09
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"ignore_php_platform_requirements": {
"8.3": true
},
"extensions": [
"apcu"
],
Expand Down
4 changes: 2 additions & 2 deletions .laminas-ci/install-apcu-extension-via-pecl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

PHP_VERSION="$1"

if ! [[ "${PHP_VERSION}" =~ 8\.2 ]]; then
echo "APCu is only installed from pecl for PHP 8.2, ${PHP_VERSION} detected."
if ! [[ "${PHP_VERSION}" =~ 8\.3 ]]; then
echo "APCu is only installed from pecl for PHP 8.3, ${PHP_VERSION} detected."
exit 0;
fi

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@
}
},
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"dflydev/fig-cookies": "^3.0.0",
"mezzio/mezzio-session": "^1.4",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"psr/container": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"laminas/laminas-cache": "^3.9",
"laminas/laminas-cache": "^3.9.1",
"laminas/laminas-cache-storage-adapter-apcu": "^2.4",
"laminas/laminas-coding-standard": "~2.5.0",
"laminas/laminas-diactoros": "^3.0",
"phpunit/phpunit": "^10.1.1",
"laminas/laminas-diactoros": "^3.3",
"phpunit/phpunit": "^10.4.2",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.9"
"vimeo/psalm": "^5.15"
},
"suggest": {
"psr/cache-implementation": "This package requires a PSR-6 CacheItemPoolInterface implementation."
Expand Down
20 changes: 10 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83b3a09

Please sign in to comment.