diff options
author | Remi Collet <remi@remirepo.net> | 2025-02-13 08:40:10 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-02-13 08:40:10 +0100 |
commit | 7debcb349923a19442986c0487e7068434947b5c (patch) | |
tree | 66d90408e329a0e77a0775498cef10da3e50d3c8 /composer.json | |
parent | df4e95fe9018efcea058ec481df282057454aee1 (diff) |
raise dependency on PHP 7.4
rename to php-sabre-http7
install in /usr/share/php/Sabre/HTTP7
raise dependency on sabre/event 6
raise dependency on sabre/uri 2.3 or 3.0
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/composer.json b/composer.json index 48caa44..98edcd7 100644 --- a/composer.json +++ b/composer.json @@ -5,17 +5,20 @@ "homepage" : "https://github.com/fruux/sabre-http", "license" : "BSD-3-Clause", "require" : { - "php" : "^7.1 || ^8.0", + "php" : "^7.4 || ^8.0", "ext-mbstring" : "*", "ext-ctype" : "*", "ext-curl" : "*", - "sabre/event" : ">=4.0 <6.0", - "sabre/uri" : "^2.0" + "sabre/event" : "^6.0", + "sabre/uri" : "^2.3 || ^3.0" }, "require-dev" : { - "friendsofphp/php-cs-fixer": "~2.17.1||^3.63", - "phpstan/phpstan": "^0.12", - "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6" + "friendsofphp/php-cs-fixer": "^3.64", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-phpunit": "^1.4", + "phpstan/phpstan-strict-rules": "^1.6", + "phpstan/extension-installer": "^1.3", + "phpunit/phpunit" : "^9.6" }, "suggest" : { "ext-curl" : " to make http requests with the Client class" @@ -60,5 +63,10 @@ "composer cs-fixer", "composer phpunit" ] + }, + "config": { + "allow-plugins": { + "phpstan/extension-installer": true + } } } |