Skip to content

Commit 0660999

Browse files
authored
Merge pull request #66 from greg0ire/validate-composer-json
Make sure Composer files are valid
2 parents 00070db + 5a76dee commit 0660999

File tree

3 files changed

+403
-363
lines changed

3 files changed

+403
-363
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ before_install:
1313
- travis_retry composer self-update
1414

1515
install:
16+
- composer validate --strict
1617
- rm composer.lock
1718
- travis_retry composer update --prefer-dist
1819

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
"homepage": "http://ocramius.github.com/"
1616
}
1717
],
18+
"config": {
19+
"platform": {
20+
"php": "7.1.27"
21+
}
22+
},
1823
"require": {
1924
"php": "^7.1"
2025
},

0 commit comments

Comments
 (0)