Skip to content

Commit

Permalink
Merge pull request #2 from niels-nijens/update-http-client-contracts
Browse files Browse the repository at this point in the history
Allow version 2 of the symfony/http-client-contracts
  • Loading branch information
niels-nijens authored Aug 28, 2020
2 parents ff48032 + 54e32af commit b5a26c2
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 22 deletions.
8 changes: 8 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ build:
- store-in-cache repository "dependencies" vendor/

nodes:
tests-symfony-4.4:
dependencies:
override:
- composer require symfony/http-client:^4.4 --dev
tests:
override:
- ./vendor/bin/phpunit --coverage-clover=coverage-clover.xml

tests:
tests:
override:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
],
"require": {
"php": "^7.2",
"symfony/http-client-contracts": "^1.1"
"symfony/http-client-contracts": "^1.1 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.15",
"phpunit/phpunit": "^8.3",
"symfony/http-client": "^4.3"
"symfony/http-client": "^4.4 || ^5.1"
},
"suggest": {
"symfony/http-client": "This package requires an actual Symfony HTTP client implementation to decorate."
Expand Down
164 changes: 144 additions & 20 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b5a26c2

Please sign in to comment.