Skip to content

Commit e59b830

Browse files
committed
Merge branch 'master' into infection
# Conflicts: # composer.json # composer.lock
2 parents 98912f5 + c6d177c commit e59b830

File tree

4 files changed

+180
-323
lines changed

4 files changed

+180
-323
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ matrix:
4040
install:
4141
- composer validate
4242
- if [ -z "$dropPlatform" ]; then composer config --unset platform.php; fi;
43+
- if [ -z "$dropPlatform" ]; then composer update --lock; fi;
4344
- if [ -z "$qaExtended" ]; then phpenv config-rm xdebug.ini || :; fi;
4445
- if [ -z "$dependencies" ]; then composer install --prefer-dist; fi;
4546
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi;

composer.json

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,17 @@
1515
"infection/infection": "^0.6.2",
1616
"jakub-onderka/php-console-highlighter": "^0.3.2",
1717
"jakub-onderka/php-parallel-lint": "^0.9.2",
18+
"localheinz/composer-normalize": "^0.1.0",
1819
"phake/phake": "^3.0.1",
1920
"phpunit/phpunit": "^6.2"
2021
},
22+
"require-dev": {},
23+
"config": {
24+
"platform": {
25+
"php": "7.0"
26+
},
27+
"sort-packages": true
28+
},
2129
"autoload": {
2230
"psr-4": {
2331
"ApiClients\\Tools\\TestUtilities\\": "src/"
@@ -28,15 +36,13 @@
2836
"ApiClients\\Tests\\Tools\\TestUtilities\\": "tests/"
2937
}
3038
},
31-
"require-dev": {
32-
},
33-
"config": {
34-
"sort-packages": true,
35-
"platform": {
36-
"php": "7.0"
37-
}
38-
},
3939
"scripts": {
40+
"post-update-cmd": [
41+
"composer normalize"
42+
],
43+
"post-install-cmd": [
44+
"composer normalize"
45+
],
4046
"ensure-installed": "composer install --ansi -n -q",
4147
"cs": [
4248
"@ensure-installed",
@@ -63,11 +69,15 @@
6369
"infection --ansi"
6470
],
6571
"qa-all": [
72+
"composer validate --ansi",
73+
"composer normalize --ansi",
6674
"@lint-php",
6775
"@cs",
6876
"@unit"
6977
],
70-
"qa-all-extended": [
78+
"qa-all-coverage": [
79+
"composer validate --ansi",
80+
"composer normalize --ansi",
7181
"@lint-php",
7282
"@cs",
7383
"@unit-coverage",

0 commit comments

Comments
 (0)