Skip to content

Commit a8f23d3

Browse files
authored
Validate Composer configuration in CI (intercom#330)
* Validate Composer configuration in CI * Fix Composer config as per http://docs.php-http.org/en/latest/httplug/library-developers.html
1 parent 4c9b46b commit a8f23d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88

99
steps:
1010
- checkout
11+
- run: composer validate --strict
1112
- run: composer install --no-interaction --no-suggest --prefer-dist
1213
- run: vendor/bin/phpunit
1314
- run: vendor/bin/phpcs --standard=PSR2 src test

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"php": ">= 7.1",
3737
"ext-json": "*",
3838
"php-http/client-common": "^1.9 || ^2.0",
39-
"php-http/client-implementation": "*",
39+
"php-http/client-implementation": "^1.0",
4040
"php-http/discovery": "^1.4",
4141
"php-http/httplug": "^1.0 || ^2.0",
4242
"php-http/message": "^1.7",

0 commit comments

Comments
 (0)