Skip to content

Commit

Permalink
Merge pull request #567 from FriendsOfSymfony/correct-setup
Browse files Browse the repository at this point in the history
use fixed discovery instead of declaring conflict with old guzzlehttp…
  • Loading branch information
dbu committed May 4, 2024
2 parents 24a47d5 + b54887d commit 064ab07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -96,7 +96,9 @@ jobs:
sh ${GITHUB_WORKSPACE}/.github/workflows/setup-nginx.sh
- name: Install composer dependencies
# Lowest discovery can end up with an incompatible psr7 implementation, see discussion in https://github.com/FriendsOfSymfony/FOSHttpCache/pull/567
run: |
composer require --no-update --no-interaction "guzzlehttp/psr7:2.*"
composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
- name: Execute tests
Expand Down Expand Up @@ -133,6 +135,7 @@ jobs:
- name: Install composer dependencies
run: |
composer require --no-update --no-interaction "guzzlehttp/psr7:2.*"
composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
- name: Execute tests
Expand Down Expand Up @@ -169,6 +172,7 @@ jobs:
- name: Install composer dependencies
run: |
composer require --no-update --no-interaction "guzzlehttp/psr7:2.*"
composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
- name: Execute tests
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Expand Up @@ -40,8 +40,7 @@
"phpunit/phpunit": "^10.5"
},
"conflict": {
"toflar/psr6-symfony-http-cache-store": "<2.2.1",
"guzzlehttp/psr7": "<2"
"toflar/psr6-symfony-http-cache-store": "<2.2.1"
},
"suggest": {
"friendsofsymfony/http-cache-bundle": "For integration with the Symfony framework",
Expand Down

0 comments on commit 064ab07

Please sign in to comment.