Skip to content

Commit

Permalink
Merge pull request #47 from localheinz/feature/composer-normalize
Browse files Browse the repository at this point in the history
Enhancement: Update localheinz/composer-normalize
  • Loading branch information
WyriHaximus committed Nov 18, 2018
2 parents 3498c08 + 7d886fd commit 432a9e0
Show file tree
Hide file tree
Showing 2 changed files with 333 additions and 43 deletions.
42 changes: 21 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"infection/infection": "^0.11.0",
"jakub-onderka/php-console-highlighter": "^0.4",
"jakub-onderka/php-parallel-lint": "^1.0.0",
"localheinz/composer-normalize": "^0.9.0",
"localheinz/composer-normalize": "^1.0.0",
"phpunit/phpunit": "^7.1"
},
"require-dev": {},
Expand All @@ -40,13 +40,15 @@
]
},
"scripts": {
"post-update-cmd": [
"post-install-cmd": [
"composer normalize"
],
"post-install-cmd": [
"post-update-cmd": [
"composer normalize"
],
"ensure-installed": "composer install --ansi -n -q",
"ci-coverage": [
"if [ -f ./build/logs/clover.xml ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi"
],
"cs": [
"@ensure-installed",
"php-cs-fixer fix --config=.php_cs --ansi --dry-run --diff --verbose --allow-risky=yes --show-progress=estimating"
Expand All @@ -55,22 +57,15 @@
"@ensure-installed",
"php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating"
],
"unit": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist"
],
"unit-coverage": [
"ensure-installed": "composer install --ansi -n -q",
"infection": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
"infection --ansi --threads=4"
],
"lint-php": [
"@ensure-installed",
"parallel-lint --exclude vendor ."
],
"infection": [
"@ensure-installed",
"infection --ansi --threads=4"
],
"qa-all": [
"composer validate --ansi",
"composer normalize --ansi",
Expand All @@ -86,11 +81,6 @@
"@unit-coverage",
"@infection"
],
"qa-windows": [
"@lint-php",
"@cs",
"@unit"
],
"qa-ci": [
"@unit"
],
Expand All @@ -103,8 +93,18 @@
"qa-contrib": [
"@qa-all"
],
"ci-coverage": [
"if [ -f ./build/logs/clover.xml ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi"
"qa-windows": [
"@lint-php",
"@cs",
"@unit"
],
"unit": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist"
],
"unit-coverage": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
]
}
}
Loading

0 comments on commit 432a9e0

Please sign in to comment.