Skip to content

Commit ee342c8

Browse files
committed
Test with PHPC 2.0
Squashed commit of the following: commit bc37a4b83e86edba06f97148d9a1b4a194623097 Author: Andreas Braun <andreas.braun@mongodb.com> Date: Thu Sep 19 13:32:18 2024 +0200 TMP: Use branch reporting 2.0 version for testing commit 938c4cd5be825b605a01e1f3129a2e233c62ac1b Author: Andreas Braun <andreas.braun@mongodb.com> Date: Wed Sep 18 10:49:01 2024 +0200 Update CI config to test with ext-mongodb 2.0 commit 23b11ec Author: Andreas Braun <andreas.braun@mongodb.com> Date: Wed Sep 18 10:47:33 2024 +0200 Require ext-mongodb 2.0
1 parent f99b3bd commit ee342c8

File tree

7 files changed

+34
-33
lines changed

7 files changed

+34
-33
lines changed

.evergreen/config/generated/build/build-extension.yml

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/templates/build/build-extension.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
vars:
66
PHP_VERSION: "%phpVersion%"
77
- func: "compile extension"
8-
# TODO: remove once 1.20.0 is released
8+
# TODO: remove once 2.0.0 is released
99
vars:
10-
EXTENSION_BRANCH: "v1.20"
10+
EXTENSION_BRANCH: "update-version"
11+
EXTENSION_REPO: "https://github.com/alcaeus/mongo-php-driver"
1112
- func: "upload extension"
12-
# TODO: re-enable once 1.20.0 is released
13+
# TODO: re-enable once 2.0.0 is released
1314
# - name: "build-php-%phpVersion%-lowest"
1415
# tags: ["build", "php%phpVersion%", "lowest", "pr", "tag"]
1516
# commands:
@@ -18,7 +19,7 @@
1819
# PHP_VERSION: "%phpVersion%"
1920
# - func: "compile extension"
2021
# vars:
21-
# EXTENSION_VERSION: "1.20.0"
22+
# EXTENSION_VERSION: "2.0.0"
2223
# - func: "upload extension"
2324
# - name: "build-php-%phpVersion%-next-stable"
2425
# tags: ["build", "php%phpVersion%", "next-stable", "pr", "tag"]
@@ -28,7 +29,7 @@
2829
# PHP_VERSION: "%phpVersion%"
2930
# - func: "compile extension"
3031
# vars:
31-
# EXTENSION_BRANCH: "v1.20.0"
32+
# EXTENSION_BRANCH: "v2.0"
3233
# - func: "upload extension"
3334
# - name: "build-php-%phpVersion%-next-minor"
3435
# tags: ["build", "php%phpVersion%", "next-minor"]
@@ -38,5 +39,5 @@
3839
# PHP_VERSION: "%phpVersion%"
3940
# - func: "compile extension"
4041
# vars:
41-
# EXTENSION_BRANCH: "master"
42+
# EXTENSION_BRANCH: "v2.x"
4243
# - func: "upload extension"

.github/workflows/coding-standards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ on:
1313

1414
env:
1515
PHP_VERSION: "8.2"
16-
# TODO: change to "stable" once 1.20.0 is released
16+
# TODO: change to "stable" once 2.0.0 is released
1717
# DRIVER_VERSION: "stable"
18-
DRIVER_VERSION: "mongodb/mongo-php-driver@v1.20"
18+
DRIVER_VERSION: "alcaeus/mongo-php-driver@update-version"
1919

2020
jobs:
2121
phpcs:

.github/workflows/generator.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ on:
1313

1414
env:
1515
PHP_VERSION: "8.2"
16-
# TODO: change to "stable" once 1.20.0 is released
16+
# TODO: change to "stable" once 2.0.0 is released
1717
# DRIVER_VERSION: "stable"
18-
DRIVER_VERSION: "mongodb/mongo-php-driver@v1.20"
18+
DRIVER_VERSION: "alcaeus/mongo-php-driver@update-version"
1919

2020
jobs:
2121
psalm:

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ on:
1919

2020
env:
2121
PHP_VERSION: "8.2"
22-
# TODO: change to "stable" once 1.20.0 is released
22+
# TODO: change to "stable" once 2.0.0 is released
2323
# DRIVER_VERSION: "stable"
24-
DRIVER_VERSION: "mongodb/mongo-php-driver@v1.20"
24+
DRIVER_VERSION: "alcaeus/mongo-php-driver@update-version"
2525

2626
jobs:
2727
psalm:

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ on:
1212
- "feature/*"
1313

1414
env:
15-
# TODO: change to "stable" once 1.20.0 is released
15+
# TODO: change to "stable" once 2.0.0 is released
1616
# DRIVER_VERSION: "stable"
17-
DRIVER_VERSION: "mongodb/mongo-php-driver@v1.20"
17+
DRIVER_VERSION: "alcaeus/mongo-php-driver@update-version"
1818

1919
jobs:
2020
phpunit:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"require": {
1313
"php": "^8.1",
1414
"ext-json": "*",
15-
"ext-mongodb": "^1.20.0",
15+
"ext-mongodb": "^2.0",
1616
"composer-runtime-api": "^2.0",
1717
"psr/log": "^1.1.4|^2|^3",
1818
"symfony/polyfill-php80": "^1.27",

0 commit comments

Comments
 (0)