diff options
author | Remi Collet <remi@remirepo.net> | 2020-10-05 09:57:34 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-10-05 09:57:34 +0200 |
commit | 6f791aadc86c7be8fec85573c517cf0e5ed07ea0 (patch) | |
tree | e7340b536a395f6a58b958f578d71b2bfcd48b68 /composer.json | |
parent | 739aa27e8183ea41e99ac2c077caec5d8e1e4071 (diff) |
update to 2.2.1
switch to phpunit9
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/composer.json b/composer.json index 29194c6..4a68797 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "homepage": "http://sabre.io/uri/", "license": "BSD-3-Clause", "require": { - "php": "^7.1" + "php": "^7.1 || ^8.0" }, "authors": [ { @@ -33,14 +33,28 @@ }, "autoload-dev": { "psr-4": { - "Sabre\\Uri\\": "tests/" + "Sabre\\Uri\\": "tests/Uri" } }, "require-dev": { "friendsofphp/php-cs-fixer": "~2.16.1", - "phpunit/phpunit" : "^7 || ^8" + "phpstan/phpstan": "^0.12", + "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0" }, - "config" : { - "bin-dir" : "bin/" + "scripts": { + "phpstan": [ + "phpstan analyse lib tests" + ], + "cs-fixer": [ + "php-cs-fixer fix" + ], + "phpunit": [ + "phpunit --configuration tests/phpunit.xml" + ], + "test": [ + "composer phpstan", + "composer cs-fixer", + "composer phpunit" + ] } } |