allow support for php 8.1

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
This commit is contained in:
Benjamin Brahmer 2022-01-02 15:03:55 +01:00
parent 7887d9bde3
commit a0852e62df
2 changed files with 10 additions and 7 deletions

View File

@ -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
}
}
}

9
composer.lock generated
View File

@ -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"
}