From a0852e62dfb89704b239929ba42f4826129a6999 Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Sun, 2 Jan 2022 15:03:55 +0100 Subject: allow support for php 8.1 Signed-off-by: Benjamin Brahmer --- composer.json | 8 +++++++- composer.lock | 9 +++------ 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" } -- cgit v1.2.3