Skip to content

Commit

Permalink
Merge pull request #74 from glo71317/php8.3_support
Browse files Browse the repository at this point in the history
Remove Support for PHP 8.0, Add Support for PHP 8.3
  • Loading branch information
Ocramius authored Nov 10, 2023
2 parents a2af774 + b864dd7 commit 2f255f1
Show file tree
Hide file tree
Showing 11 changed files with 213 additions and 262 deletions.
2 changes: 1 addition & 1 deletion .laminas-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"pgsql"
],
"ignore_php_platform_requirements": {
"8.2": true
"8.3": true
}
}
7 changes: 4 additions & 3 deletions .laminas-ci/install-mongodb-extension-via-pecl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

PHP_VERSION="$1"

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

set +e
apt install make

pecl install mongodb
echo "extension=mongodb.so" > /etc/php/${PHP_VERSION}/mods-available/mongodb.ini
phpenmod -v ${PHP} -s cli mongodb
phpenmod -v ${PHP} -s cli mongodb
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"config": {
"sort-packages": true,
"platform": {
"php": "8.0.99"
"php": "8.1.99"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
Expand All @@ -32,10 +32,10 @@
}
},
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0",
"laminas/laminas-eventmanager": "^3.5",
"laminas/laminas-servicemanager": "^3.15.1",
"laminas/laminas-stdlib": "^3.10.1"
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"laminas/laminas-eventmanager": "^3.12",
"laminas/laminas-servicemanager": "^3.22",
"laminas/laminas-stdlib": "^3.18"
},
"require-dev": {
"laminas/laminas-cache": "^3.10.1",
Expand Down
Loading

0 comments on commit 2f255f1

Please sign in to comment.