Skip to content

Commit daa36db

Browse files
committed
fix stability handling and workaround for symfony 8 bug
1 parent 19b9c7e commit daa36db

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,17 @@ jobs:
9292
tools: "flex"
9393

9494
- name: "Enforce using stable dependencies"
95-
run: "composer config minimum-stability stable"
96-
if: "${{ matrix.stability == 'stable' }}"
95+
run: "composer config minimum-stability ${{ matrix.stability }}"
96+
if: "${{ matrix.stability }}"
9797

9898
- name: "Add dependencies and enable flex"
9999
run: |
100100
composer config allow-plugins.symfony/flex true
101101
composer require --no-update ${{ matrix.dependencies }}
102102
103+
- name: "Work around https://github.com/symfony/symfony/pull/62692"
104+
run: "composer require --no-update symfony/console:*"
105+
103106
- name: "Install dependencies with Composer"
104107
uses: "ramsey/composer-install@v3"
105108
with:

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
},
5353
"require-dev": {
5454
"guzzlehttp/psr7": "^1.7 || ^2.0",
55-
"matthiasnoback/symfony-config-test": "^5.2",
56-
"matthiasnoback/symfony-dependency-injection-test": "^4.3.1 || ^5.0",
55+
"matthiasnoback/symfony-config-test": "^5.2 || ^v6.1.0",
56+
"matthiasnoback/symfony-dependency-injection-test": "^4.3.1 || ^5.0 || ^6.2.0",
5757
"nyholm/nsa": "^1.1",
5858
"nyholm/psr7": "^1.2.1",
5959
"php-http/cache-plugin": "^1.7",
@@ -96,7 +96,6 @@
9696
"tests/Resources/app/AppKernel.php"
9797
]
9898
},
99-
"prefer-stable": false,
10099
"scripts": {
101100
"test": "vendor/bin/phpunit",
102101
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"

0 commit comments

Comments
 (0)