summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-05-11 14:35:56 +0200
committerRemi Collet <remi@remirepo.net>2020-05-11 14:35:56 +0200
commit4ca2120ed076e159f0385c62c38889bdbd0763f9 (patch)
treeac3eabaad4f44d923cdccc2931384e05d6b815a2 /composer.json
parent232b1b425ee3d0285704b9bd6db530914049962e (diff)
update to 2.2.1
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json20
1 files changed, 17 insertions, 3 deletions
diff --git a/composer.json b/composer.json
index 2af0dd4..40abe14 100644
--- a/composer.json
+++ b/composer.json
@@ -45,9 +45,23 @@
},
"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"
+ ]
}
}