From c0ce832564ca353b0dd2f424f0fbfe36ea6347ce Mon Sep 17 00:00:00 2001 From: Dennis Meckel Date: Sat, 24 Aug 2019 02:11:10 +0200 Subject: [PATCH] Added composer scripts `bench`, `format` and `test` --- composer.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index daacfb0..ff2702e 100644 --- a/composer.json +++ b/composer.json @@ -28,11 +28,17 @@ "ext-simplexml": "*" }, "require-dev": { - "phpunit/phpunit": "^5.0|^7.0", - "phpbench/phpbench": "^0.13.0" + "friendsofphp/php-cs-fixer": "^2.15", + "phpbench/phpbench": "^0.16.9", + "phpunit/phpunit": "^5.0|^7.0" }, "support": { "issues": "https://github.com/rayne/wz2008-graph/issues", "source": "https://github.com/rayne/wz2008-graph" + }, + "scripts": { + "bench": "phpbench run", + "format": "php-cs-fixer fix", + "test": "phpunit" } }