Skip to content

Commit 96d9312

Browse files
authored
Support version 2.0 of the MongoDB driver (#885)
Built on doctrine/mongodb-odm@77b28b3
1 parent 113d935 commit 96d9312

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,20 @@ jobs:
1818
SYMFONY_REQUIRE: ${{matrix.symfony-version}}
1919

2020
strategy:
21+
fail-fast: false
2122
matrix:
2223
os:
2324
- "ubuntu-20.04"
2425
php-version:
2526
- "8.1"
2627
- "8.2"
2728
- "8.3"
29+
- "8.4"
2830
stability:
2931
- "stable"
3032
symfony-version:
3133
- "6.4.*"
32-
- "7.0.*"
34+
- "7.2.*"
3335
driver-version:
3436
- "stable"
3537
dependencies:
@@ -38,12 +40,18 @@ jobs:
3840
- dependencies: "lowest"
3941
os: "ubuntu-20.04"
4042
php-version: "8.1"
41-
driver-version: "1.5.0"
43+
driver-version: "1.16.0"
4244
stability: "stable"
4345
symfony-version: "6.4.*"
46+
- dependencies: "highest"
47+
os: "ubuntu-20.04"
48+
php-version: "8.2"
49+
driver-version: "mongodb/mongo-php-driver@v2.x"
50+
stability: "dev"
51+
symfony-version: "7.2.*"
4452
exclude:
4553
- php-version: "8.1"
46-
symfony-version: "7.0.*"
54+
symfony-version: "7.2.*"
4755

4856
services:
4957
mongodb:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"homepage": "http://www.doctrine-project.org",
2626
"require": {
2727
"php": "^8.1",
28-
"ext-mongodb": "^1.16",
28+
"ext-mongodb": "^1.16 || ^2",
2929
"composer-runtime-api": "^2.0",
3030
"doctrine/mongodb-odm": "^2.6",
3131
"doctrine/persistence": "^3.0",

0 commit comments

Comments
 (0)