Skip to content

Commit cb83bfe

Browse files
authored
Dependency: Symfony/options-resolver allow ^6.0 (#215)
* composer dependency: symfony/options-resolver allow ^6.0 * add symfony 5 and 6 to build matrix * use flex to lock symfony version * use flex to lock symfony version
1 parent 133e14e commit cb83bfe

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/tests.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
runs-on: ubuntu-latest
6767
strategy:
6868
matrix:
69-
symfony: ['2', '3', '4']
69+
symfony: ['4', '5', '6']
7070

7171
steps:
7272
- name: Checkout code
@@ -85,7 +85,8 @@ jobs:
8585

8686
- name: Install dependencies
8787
run: |
88-
composer require dunglas/symfony-lock:v${{ matrix.symfony }} --no-interaction --no-update
88+
composer require --no-update --no-interaction --no-progress symfony/flex
89+
composer config extra.symfony.require ${{ matrix.symfony}}
8990
composer update --prefer-dist --no-interaction --prefer-stable --prefer-lowest --no-progress
9091
9192
- name: Execute tests

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
/phpunit.xml
88
/phpstan.neon
99
/vendor/
10+
11+
.phpunit.result.cache

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"psr/http-client": "^1.0",
1919
"psr/http-factory": "^1.0",
2020
"psr/http-message": "^1.0",
21-
"symfony/options-resolver": "^2.6 || ^3.4.20 || ~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0",
21+
"symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0",
2222
"symfony/polyfill-php80": "^1.17"
2323
},
2424
"require-dev": {

0 commit comments

Comments
 (0)