Skip to content

Commit 432a9e0

Browse files
authored
Merge pull request #47 from localheinz/feature/composer-normalize
Enhancement: Update localheinz/composer-normalize
2 parents 3498c08 + 7d886fd commit 432a9e0

File tree

2 files changed

+333
-43
lines changed

2 files changed

+333
-43
lines changed

composer.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"infection/infection": "^0.11.0",
1717
"jakub-onderka/php-console-highlighter": "^0.4",
1818
"jakub-onderka/php-parallel-lint": "^1.0.0",
19-
"localheinz/composer-normalize": "^0.9.0",
19+
"localheinz/composer-normalize": "^1.0.0",
2020
"phpunit/phpunit": "^7.1"
2121
},
2222
"require-dev": {},
@@ -40,13 +40,15 @@
4040
]
4141
},
4242
"scripts": {
43-
"post-update-cmd": [
43+
"post-install-cmd": [
4444
"composer normalize"
4545
],
46-
"post-install-cmd": [
46+
"post-update-cmd": [
4747
"composer normalize"
4848
],
49-
"ensure-installed": "composer install --ansi -n -q",
49+
"ci-coverage": [
50+
"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"
51+
],
5052
"cs": [
5153
"@ensure-installed",
5254
"php-cs-fixer fix --config=.php_cs --ansi --dry-run --diff --verbose --allow-risky=yes --show-progress=estimating"
@@ -55,22 +57,15 @@
5557
"@ensure-installed",
5658
"php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating"
5759
],
58-
"unit": [
59-
"@ensure-installed",
60-
"phpunit --colors=always -c phpunit.xml.dist"
61-
],
62-
"unit-coverage": [
60+
"ensure-installed": "composer install --ansi -n -q",
61+
"infection": [
6362
"@ensure-installed",
64-
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
63+
"infection --ansi --threads=4"
6564
],
6665
"lint-php": [
6766
"@ensure-installed",
6867
"parallel-lint --exclude vendor ."
6968
],
70-
"infection": [
71-
"@ensure-installed",
72-
"infection --ansi --threads=4"
73-
],
7469
"qa-all": [
7570
"composer validate --ansi",
7671
"composer normalize --ansi",
@@ -86,11 +81,6 @@
8681
"@unit-coverage",
8782
"@infection"
8883
],
89-
"qa-windows": [
90-
"@lint-php",
91-
"@cs",
92-
"@unit"
93-
],
9484
"qa-ci": [
9585
"@unit"
9686
],
@@ -103,8 +93,18 @@
10393
"qa-contrib": [
10494
"@qa-all"
10595
],
106-
"ci-coverage": [
107-
"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"
96+
"qa-windows": [
97+
"@lint-php",
98+
"@cs",
99+
"@unit"
100+
],
101+
"unit": [
102+
"@ensure-installed",
103+
"phpunit --colors=always -c phpunit.xml.dist"
104+
],
105+
"unit-coverage": [
106+
"@ensure-installed",
107+
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
108108
]
109109
}
110110
}

0 commit comments

Comments
 (0)