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 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'composer.json') 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 + } } } -- cgit v1.2.3