From eb1b7a9b3645f5704644230f7f706680c663c28e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 Jan 2023 16:44:22 +0100 Subject: update to 4.5.2 raise dependency on PHP 7.4 raise dependency on sabre/xml v3 or v4 switch to classmap autoloader --- composer.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index b745b1f..3816d54 100644 --- a/composer.json +++ b/composer.json @@ -32,15 +32,16 @@ "homepage" : "http://sabre.io/vobject/", "license" : "BSD-3-Clause", "require" : { - "php" : "^7.1 || ^8.0", + "php" : "^7.4 || ^8.0", "ext-mbstring" : "*", - "sabre/xml" : "^2.1" + "ext-json" : "*", + "sabre/xml" : "^3.0 || ^4.0" }, "require-dev" : { - "friendsofphp/php-cs-fixer": "~2.17.1", - "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0", + "friendsofphp/php-cs-fixer": "^3.10.0", + "phpunit/phpunit" : "^9.0", "phpunit/php-invoker" : "^2.0 || ^3.1", - "phpstan/phpstan": "^0.12" + "phpstan/phpstan": "^1.8" }, "suggest" : { "hoa/bench" : "If you would like to run the benchmark scripts" @@ -90,7 +91,7 @@ }, "scripts": { "phpstan": [ - "phpstan analyse lib tests" + "phpstan analyse lib tests --memory-limit 1G" ], "cs-fixer": [ "php-cs-fixer fix" -- cgit