diff options
author | Remi Collet <remi@remirepo.net> | 2020-07-13 14:09:40 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-07-13 14:09:40 +0200 |
commit | cfb23785918c99300a83158bac33d9463f34dd1c (patch) | |
tree | 7af8c59d20284bffcb8627bd564e43c24d087c69 /composer.json | |
parent | cdc2bbf31a0c9c1c040cbe3f3e4265574400e46e (diff) |
update to 4.3.1
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/composer.json b/composer.json index 9e522f8..d4fa56a 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,8 @@ }, "require-dev" : { "friendsofphp/php-cs-fixer": "~2.16.1", - "phpunit/phpunit" : "^7 || ^8" + "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0", + "phpstan/phpstan": "^0.12" }, "suggest" : { "hoa/bench" : "If you would like to run the benchmark scripts" @@ -86,7 +87,20 @@ "dev-master" : "4.0.x-dev" } }, - "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" + ] } } |