Skip to content

Commit ee0e5e2

Browse files
committed
Enable support for Symfony 8
1 parent 20a6556 commit ee0e5e2

File tree

3 files changed

+35
-34
lines changed

3 files changed

+35
-34
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- "*.x"
77
- "feature/*"
88
push:
9+
branches:
10+
- "*.x"
11+
- "feature/*"
912

1013
env:
1114
fail-fast: true
@@ -14,8 +17,6 @@ jobs:
1417
phpunit:
1518
name: "PHPUnit"
1619
runs-on: "${{ matrix.os }}"
17-
env:
18-
SYMFONY_REQUIRE: ${{matrix.symfony-version}}
1920

2021
strategy:
2122
fail-fast: false
@@ -27,34 +28,32 @@ jobs:
2728
- "8.2"
2829
- "8.3"
2930
- "8.4"
30-
stability:
31-
- "stable"
3231
symfony-version:
33-
- "6.4.*"
34-
- "7.2.*"
35-
- "7.3.*"
32+
- "locked"
3633
driver-version:
3734
- "stable"
3835
dependencies:
3936
- "highest"
4037
include:
4138
- dependencies: "lowest"
42-
os: "ubuntu-24.04"
4339
php-version: "8.1"
4440
driver-version: "1.21.0"
45-
stability: "stable"
4641
symfony-version: "6.4.*"
42+
- dependencies: "stable"
43+
php-version: "8.4"
44+
symfony-version: "6.4.*"
45+
- dependencies: "lowest"
46+
php-version: "8.1"
47+
symfony-version: "^7"
48+
- dependencies: "stable"
49+
php-version: "8.4"
50+
symfony-version: "^7"
51+
- dependencies: "highest"
52+
php-version: "8.1"
53+
symfony-version: "^8"
4754
- dependencies: "highest"
48-
os: "ubuntu-24.04"
49-
php-version: "8.2"
55+
php-version: "8.4"
5056
driver-version: "mongodb/[email protected]"
51-
stability: "dev"
52-
symfony-version: "7.2.*"
53-
exclude:
54-
- php-version: "8.1"
55-
symfony-version: "7.2.*"
56-
- php-version: "8.1"
57-
symfony-version: "7.3.*"
5857

5958
services:
6059
mongodb:
@@ -92,13 +91,12 @@ jobs:
9291
coverage: "pcov"
9392
ini-values: "zend.assertions=1"
9493

95-
- name: "Set minimum-stability to stable in Composer"
96-
run: "composer config minimum-stability ${{ matrix.stability }}"
97-
9894
- name: "Install dependencies with Composer"
9995
uses: "ramsey/composer-install@v3"
10096
with:
10197
dependency-versions: "${{ matrix.dependencies }}"
98+
env:
99+
SYMFONY_REQUIRE: ${{matrix.symfony-version}}
102100

103101
- name: "Run PHPUnit"
104102
run: "vendor/bin/phpunit --coverage-clover=coverage.xml"

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
- phpstan*
1414
- tests/StaticAnalysis/**
1515
push:
16+
branches:
17+
- "*.x"
18+
- "feature/*"
1619

1720
jobs:
1821
static-analysis:

composer.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
"doctrine/mongodb-odm": "^2.6",
3131
"doctrine/persistence": "^3.0 || ^4.0",
3232
"psr/log": "^1.0 || ^2.0 || ^3.0",
33-
"symfony/config": "^6.4 || ^7.0",
34-
"symfony/console": "^6.4 || ^7.0",
35-
"symfony/dependency-injection": "^6.4 || ^7.0",
36-
"symfony/doctrine-bridge": "^6.4 || ^7.0",
37-
"symfony/framework-bundle": "^6.4 || ^7.0",
38-
"symfony/http-kernel": "^6.4 || ^7.0",
39-
"symfony/options-resolver": "^6.4 || ^7.0"
33+
"symfony/config": "^6.4 || ^7.0 || ^8.0",
34+
"symfony/console": "^6.4 || ^7.0 || ^8.0",
35+
"symfony/dependency-injection": "^6.4 || ^7.0 || ^8.0",
36+
"symfony/doctrine-bridge": "^6.4 || ^7.0 || ^8.0",
37+
"symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0",
38+
"symfony/http-kernel": "^6.4 || ^7.0 || ^8.0",
39+
"symfony/options-resolver": "^6.4 || ^7.0 || ^8.0"
4040
},
4141
"require-dev": {
4242
"composer/semver": "^3.4",
@@ -45,13 +45,13 @@
4545
"phpstan/phpstan": "^2.1",
4646
"phpunit/phpunit": "^10.5",
4747
"squizlabs/php_codesniffer": "^4",
48-
"symfony/browser-kit": "^6.4 || ^7.0",
49-
"symfony/form": "^6.4 || ^7.0",
48+
"symfony/browser-kit": "^6.4 || ^7.0 || ^8.0",
49+
"symfony/form": "^6.4 || ^7.0 || ^8.0",
5050
"symfony/phpunit-bridge": "^6.4.1 || ^7.0.1",
51-
"symfony/security-bundle": "^6.4 || ^7.0",
52-
"symfony/stopwatch": "^6.4 || ^7.0",
53-
"symfony/validator": "^6.4 || ^7.0",
54-
"symfony/yaml": "^6.4 || ^7.0"
51+
"symfony/security-bundle": "^6.4 || ^7.0 || ^8.0",
52+
"symfony/stopwatch": "^6.4 || ^7.0 || ^8.0",
53+
"symfony/validator": "^6.4 || ^7.0 || ^8.0",
54+
"symfony/yaml": "^6.4 || ^7.0 || ^8.0"
5555
},
5656
"conflict": {
5757
"doctrine/data-fixtures": "<1.8 || >=3"

0 commit comments

Comments
 (0)