Skip to content

Require ext-mongodb ^2.3 and test against dev branch#1879

Merged
GromNaN merged 2 commits intomongodb:v2.xfrom
GromNaN:phplib-1719-require-ext-mongodb-2.3
Apr 27, 2026
Merged

Require ext-mongodb ^2.3 and test against dev branch#1879
GromNaN merged 2 commits intomongodb:v2.xfrom
GromNaN:phplib-1719-require-ext-mongodb-2.3

Conversation

@GromNaN
Copy link
Copy Markdown
Member

@GromNaN GromNaN commented Apr 24, 2026

Bumps the minimum required ext-mongodb version from ^2.2 to ^2.3 and tests against the v2.x development branch of the extension in CI (Evergreen and GitHub Actions), in anticipation of the 2.3.0 release.

Test against the v2.x development branch of the extension in CI, in
anticipation of the 2.3.0 release.
Copilot AI review requested due to automatic review settings April 24, 2026 10:06
@GromNaN GromNaN requested a review from a team as a code owner April 24, 2026 10:06
@GromNaN GromNaN requested review from alcaeus and removed request for Copilot April 24, 2026 10:06
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.75%. Comparing base (8000161) to head (ff96b7a).
⚠️ Report is 1 commits behind head on v2.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               v2.x    #1879   +/-   ##
=========================================
  Coverage     87.75%   87.75%           
  Complexity     3308     3308           
=========================================
  Files           447      447           
  Lines          6607     6607           
=========================================
  Hits           5798     5798           
  Misses          809      809           
Flag Coverage Δ
6.0-replica_set 86.58% <ø> (ø)
6.0-server 82.60% <ø> (ø)
6.0-sharded_cluster 86.37% <ø> (ø)
8.0-replica_set 87.61% <ø> (ø)
8.0-server 83.35% <ø> (ø)
8.0-sharded_cluster ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copilot AI review requested due to automatic review settings April 24, 2026 15:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the library’s minimum supported ext-mongodb version and adjusts CI to exercise the extension’s v2.x development branch ahead of an ext-mongodb 2.3.0 release.

Changes:

  • Bump ext-mongodb requirement from ^2.2 to ^2.3 in composer.json.
  • Switch GitHub Actions workflows to use a v2.x driver value via DRIVER_VERSION.
  • Switch Evergreen extension builds to compile from EXTENSION_BRANCH: v2.x (template + regenerated config).

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
composer.json Raises minimum required ext-mongodb version to ^2.3.
.github/workflows/tests.yml Points CI driver install to mongodb/mongo-php-driver@v2.x.
.github/workflows/static-analysis.yml Points CI driver install to mongodb/mongo-php-driver@v2.x.
.github/workflows/generator.yml Points CI driver install to mongodb/mongo-php-driver@v2.x.
.github/workflows/coding-standards.yml Points CI driver install to mongodb/mongo-php-driver@v2.x.
.evergreen/config/templates/build/build-extension.yml Builds extension from v2.x branch for stable/lowest/next-stable/next-minor tasks.
.evergreen/config/generated/build/build-extension.yml Regenerated Evergreen config reflecting v2.x branch builds.

Comment thread .github/workflows/generator.yml
Comment thread .github/workflows/coding-standards.yml
Comment thread .evergreen/config/templates/build/build-extension.yml
Comment thread .evergreen/config/templates/build/build-extension.yml
Comment thread .evergreen/config/generated/build/build-extension.yml
Comment thread .evergreen/config/generated/build/build-extension.yml
Comment thread .github/workflows/tests.yml
Comment thread .github/workflows/static-analysis.yml
Copy link
Copy Markdown
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes LGTM with a small nit about a missing comment.

Comment thread .evergreen/config/templates/build/build-extension.yml
@GromNaN GromNaN force-pushed the phplib-1719-require-ext-mongodb-2.3 branch from c053284 to ff96b7a Compare April 27, 2026 07:11
@GromNaN GromNaN enabled auto-merge (squash) April 27, 2026 07:12
@GromNaN GromNaN merged commit 17c4013 into mongodb:v2.x Apr 27, 2026
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants