summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2022-01-02 15:03:55 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2022-01-04 20:40:17 +0100
commita0852e62dfb89704b239929ba42f4826129a6999 (patch)
tree7b153eba8df419b068218f4bf5f5f4ffefc7bc29
parent7887d9bde317ed30638282ed9e2f2f748099dedc (diff)
allow support for php 8.1
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--composer.json8
-rw-r--r--composer.lock9
2 files changed, 10 insertions, 7 deletions
diff --git a/composer.json b/composer.json
index aa52f8128..66146fe32 100644
--- a/composer.json
+++ b/composer.json
@@ -40,7 +40,7 @@
"source": "https://github.com/nextcloud/news/"
},
"require": {
- "php": "^7.2 || 8.0.x",
+ "php": "^7.2 || 8.0.x || 8.1.x",
"ezyang/htmlpurifier": "^4.13.0",
"pear/net_url2": "2.2.2",
"riimu/kit-pathjoin": "1.2.0",
@@ -80,5 +80,11 @@
"psr-4": {
"OCA\\News\\Tests\\": "tests/"
}
+ },
+ "config": {
+ "allow-plugins": {
+ "composer/package-versions-deprecated": true,
+ "phpstan/extension-installer": true
+ }
}
}
diff --git a/composer.lock b/composer.lock
index 2e45ead24..f0ffa4632 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "6487fb576db846a56aaf0d45f2469a8f",
+ "content-hash": "18255518ecb41e2b271003adc52360e2",
"packages": [
{
"name": "arthurhoaro/favicon",
@@ -874,9 +874,6 @@
"require": {
"php": "^7.1 || ^8.0"
},
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
"require-dev": {
"doctrine/collections": "^1.0",
"doctrine/common": "^2.6",
@@ -3274,7 +3271,7 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
- "php": "^7.2 || 8.0.x",
+ "php": "^7.2 || 8.0.x || 8.1.x",
"ext-json": "*",
"ext-simplexml": "*",
"ext-libxml": "*",
@@ -3282,5 +3279,5 @@
"ext-curl": "*"
},
"platform-dev": [],
- "plugin-api-version": "2.1.0"
+ "plugin-api-version": "2.2.0"
}