From 0e6cbea1c84235c3eabb788e3e174e797d8213dc Mon Sep 17 00:00:00 2001 From: Jordan Brauer <18744334+jordanbrauer@users.noreply.github.com> Date: Thu, 7 Jan 2021 20:16:47 -0600 Subject: [PATCH] add composer normalize and run it --- composer.json | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 4c3ee534..b5972871 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "jordanbrauer/unit-converter", - "description": "Convert standard units from one to another with this easy to use, lightweight package", "type": "component", + "description": "Convert standard units from one to another with this easy to use, lightweight package", "license": "MIT", "authors": [ { @@ -9,26 +9,18 @@ "email": "18744334+jordanbrauer@users.noreply.github.com" } ], - "scripts": { - "test": "vendor/bin/phpunit --configuration=./phpunit.xml --testsuite=fullspec --color=always", - "unit": "vendor/bin/phpunit --configuration=./phpunit.xml --testsuite=unit --color=always", - "integration": "vendor/bin/phpunit --configuration=./phpunit.xml --testsuite=integration --color=always", - "coverage": "vendor/bin/phpunit --coverage-text --configuration=./phpunit.xml --testsuite=fullspec --color=always", - "clover": "phpunit --coverage-clover=./clover.xml --configuration=./phpunit.xml --testsuite=fullspec --color=never", - "style": "bin/php-cs-fixer fix --config=.php_cs --show-progress=dots --ansi -v", - "report": "vendor/bin/phpmetrics --report-html=report --exclude='.github,.notes,.vscode,bin,docs,node_modules,report,tests,vendor' ." - }, "require": { "php": "^7.1", "ext-bcmath": "*" }, "require-dev": { + "codedungeon/phpunit-result-printer": "^0.19.12", "consolidation/robo": "^1.2", + "ergebnis/composer-normalize": "^2.13", + "phpmetrics/phpmetrics": "^2.4", "phpunit/phpunit": "^6.3", "symfony/var-dumper": "^3.3", - "vlucas/phpdotenv": "^2.4", - "codedungeon/phpunit-result-printer": "^0.19.12", - "phpmetrics/phpmetrics": "^2.4" + "vlucas/phpdotenv": "^2.4" }, "autoload": { "psr-4": { @@ -40,5 +32,14 @@ "UnitConverter\\Tests\\Integration\\": "tests/integration/", "UnitConverter\\Tests\\Unit\\": "tests/unit/" } + }, + "scripts": { + "clover": "phpunit --coverage-clover=./clover.xml --configuration=./phpunit.xml --testsuite=fullspec --color=never", + "coverage": "vendor/bin/phpunit --coverage-text --configuration=./phpunit.xml --testsuite=fullspec --color=always", + "integration": "vendor/bin/phpunit --configuration=./phpunit.xml --testsuite=integration --color=always", + "report": "vendor/bin/phpmetrics --report-html=report --exclude='.github,.notes,.vscode,bin,docs,node_modules,report,tests,vendor' .", + "style": "bin/php-cs-fixer fix --config=.php_cs --show-progress=dots --ansi -v", + "test": "vendor/bin/phpunit --configuration=./phpunit.xml --testsuite=fullspec --color=always", + "unit": "vendor/bin/phpunit --configuration=./phpunit.xml --testsuite=unit --color=always" } }