From 5644495bff76f3239dd21ef8688e4da65cf5c5df Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 Jan 2023 16:24:09 +0100 Subject: update to 4.0.0 raise dependency on PHP 7.4 raise dependency on sabre/uri v2 rename to php-sabre-xml4 move to /usr/share/php/Sabre/Xml4 --- composer.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 4524cf5..9996cec 100644 --- a/composer.json +++ b/composer.json @@ -5,12 +5,12 @@ "homepage" : "https://sabre.io/xml/", "license" : "BSD-3-Clause", "require" : { - "php" : "^7.1 || ^8.0", + "php" : "^7.4 || ^8.0", "ext-xmlwriter" : "*", "ext-xmlreader" : "*", "ext-dom" : "*", "lib-libxml" : ">=2.6.20", - "sabre/uri" : ">=1.0,<3.0.0" + "sabre/uri" : ">=2.0,<4.0.0" }, "authors" : [ { @@ -44,13 +44,16 @@ } }, "require-dev": { - "friendsofphp/php-cs-fixer": "~2.17.1", - "phpstan/phpstan": "^0.12", - "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0" + "friendsofphp/php-cs-fixer": "^3.9", + "phpstan/phpstan": "^1.8", + "phpunit/phpunit" : "^9.0" }, "scripts": { "phpstan": [ - "phpstan analyse lib tests" + "phpstan analyse" + ], + "phpstan-baseline": [ + "phpstan analyse --generate-baseline phpstan-baseline.neon" ], "cs-fixer": [ "php-cs-fixer fix" -- cgit