Skip to content

Commit 8b77585

Browse files
committed
Test with Symfony 8
1 parent 4193ace commit 8b77585

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ jobs:
1111
matrix:
1212
php: [8.2, 8.3, 8.4]
1313
symfony: [6.4.*, 7.3.*]
14-
dependency-version: [prefer-stable]
14+
dependency-version: [stable]
1515
include:
16-
- { php: 8.2, symfony: 6.4.*, dependency-version: prefer-lowest }
16+
- { php: 8.2, symfony: 6.4.*, dependency-version: lowest }
17+
- { php: 8.3, symfony: 7.4.*, dependency-version: highest }
18+
- { php: 8.4, symfony: 8.0.*, dependency-version: highest }
1719

1820
env:
1921
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
@@ -39,7 +41,9 @@ jobs:
3941
tools: flex
4042

4143
- name: Install Composer dependencies
42-
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
44+
uses: ramsey/composer-install@v2
45+
with:
46+
dependency-versions: ${{ matrix.php }}
4347

4448
- name: Integration Tests
4549
run: php ./vendor/bin/simple-phpunit

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
- Refactored into a single `OpenAI\Symfony\OpenAIBundle` class
1010
- Add `project` and `base_uri` configuration options
1111
- Drop support for unsupported Symfony versions. Now requires Symfony 6.4 or 7.3+
12+
- Add support for Symfony 8.0
1213

1314
## v0.12.0 (2025-05-06)
1415
### Changed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
"openai-php/client": "^0.16.0",
2121
"psr/http-client": "^1.0.3",
2222
"psr/http-factory": "^1.1.0",
23-
"symfony/config": "^6.4|^7.3",
24-
"symfony/dependency-injection": "^6.4|^7.3",
25-
"symfony/http-client": "^6.4|^7.3",
26-
"symfony/http-kernel": "^6.4|^7.3"
23+
"symfony/config": "^6.4|^7.3|^8.0",
24+
"symfony/dependency-injection": "^6.4|^7.3|^8.0",
25+
"symfony/http-client": "^6.4|^7.3|^8.0",
26+
"symfony/http-kernel": "^6.4|^7.3|^8.0"
2727
},
2828
"require-dev": {
2929
"laravel/pint": "^1.24.0",
3030
"phpstan/phpstan": "^2.1.22",
3131
"rector/rector": "^2.1.5",
32-
"symfony/phpunit-bridge": "^6.4.25|^7.3",
33-
"symfony/framework-bundle": "^6.4|^7.3"
32+
"symfony/phpunit-bridge": "^6.4.25|^7.3|^8.0",
33+
"symfony/framework-bundle": "^6.4|^7.3|^8.0"
3434
},
3535
"autoload": {
3636
"psr-4": {

0 commit comments

Comments
 (0)