Require PHP 8.2

This commit is contained in:
Johannes Meyer 2025-06-18 09:56:57 +02:00
parent 17eacc0fa0
commit 0105d75397
4 changed files with 4 additions and 10 deletions

View File

@ -28,7 +28,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '5.6'
php-version: '8.2'
- name: Create snapshot/nightly
if: success()

View File

@ -6,7 +6,7 @@ which can be integrated as library into Icinga Web 2.
## Requirements
* [Icinga Web 2](https://github.com/Icinga/icingaweb2) (>= 2.9)
* PHP (>= 7.2.9)
* PHP (>= 8.2)
## Installation

View File

@ -8,4 +8,4 @@ e.g.
## Docker Example
docker run -it -v $(pwd):/tmp/pwd -w /tmp/pwd -v $(realpath ~/.gitconfig):/tmp/user/.gitconfig -e "HOME=/tmp/user" -u $(id -u):$(id -g) dev-docker_web72 bin/make-release.sh 1.0.0 --no-tag
docker run -it -v $(pwd):/tmp/pwd -w /tmp/pwd -v $(realpath ~/.gitconfig):/tmp/user/.gitconfig -e "HOME=/tmp/user" -u $(id -u):$(id -g) dev-docker_web82 bin/make-release.sh 1.0.0 --no-tag

View File

@ -6,9 +6,6 @@
"license": "MIT",
"config": {
"sort-packages": true,
"platform": {
"php": "7.2.9"
},
"allow-plugins": {
"cweagans/composer-patches": true
}
@ -17,7 +14,7 @@
"issues": "https://github.com/Icinga/icinga-php-thirdparty/issues"
},
"require": {
"php": ">=7.2.9 <=8.2",
"php": ">=8.2",
"ext-curl": "*",
"clue/block-react": "^1.5",
"clue/connection-manager-extra": "^1.3",
@ -73,9 +70,6 @@
"extra": {
"composer-exit-on-patch-failure": true,
"patches": {
"ramsey/collection": {
"Collection: Add PHP 8.1 support": "patches/ramsey-collection.patch"
},
"shardj/zf1-future": {
"ZF1-Future: ZF backward compatibility": "patches/shardj-zf1-future.patch"
}