[PR #95] [MERGED] MongoDbStorage upgrade #119

Closed
opened 2026-01-23 11:35:16 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/KeyValueStore/pull/95
Author: @EmanueleMinotto
Created: 9/8/2019
Status: Merged
Merged: 9/11/2019
Merged by: @EmanueleMinotto

Base: masterHead: issues/93


📝 Commits (5)

  • 6f154f5 Add mongodb/mongodb dependency
  • a50dade Replace legacy Mongo class with MongoDB Client
  • 3800fa4 Add mongo to Travis
  • b62b9ea Drop PHP 5.5 support
  • 218a870 Create UPGRADE.md

📊 Changes

8 files changed (+123 additions, -175 deletions)

View changed files

📝 .travis.yml (+1 -6)
UPGRADE.md (+7 -0)
📝 composer.json (+2 -1)
📝 docs/reference/basic-usage.rst (+1 -1)
📝 docs/reference/configuration.rst (+6 -9)
📝 lib/Doctrine/KeyValueStore/Storage/MongoDbStorage.php (+40 -72)
📝 tests/Doctrine/Tests/KeyValueStore/Storage/MongoDbStorageTest.php (+66 -84)
📝 tests/travis.sh (+0 -2)

📄 Description

Fixes https://github.com/doctrine/KeyValueStore/issues/93

Things done:

  1. drop PHP 5.5 support: mongodb package, Travis, PHP itself, etc... nobody is supporting it anymore
  2. replaced deprecated ext-mongo with mongodb/mongodb:^1.4
  3. changed unit test for MongoDB with an integration test

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/KeyValueStore/pull/95 **Author:** [@EmanueleMinotto](https://github.com/EmanueleMinotto) **Created:** 9/8/2019 **Status:** ✅ Merged **Merged:** 9/11/2019 **Merged by:** [@EmanueleMinotto](https://github.com/EmanueleMinotto) **Base:** `master` ← **Head:** `issues/93` --- ### 📝 Commits (5) - [`6f154f5`](https://github.com/doctrine/KeyValueStore/commit/6f154f5378c4a4ba64974d36bcae62ddb063aeb9) Add mongodb/mongodb dependency - [`a50dade`](https://github.com/doctrine/KeyValueStore/commit/a50dade76d6656a61549fe474843c0a15ee1797b) Replace legacy Mongo class with MongoDB Client - [`3800fa4`](https://github.com/doctrine/KeyValueStore/commit/3800fa4d5ce34040526107c0e25227a67523ff08) Add mongo to Travis - [`b62b9ea`](https://github.com/doctrine/KeyValueStore/commit/b62b9ea0986be0fcc0d5ba4bcad253cc59c4f4ee) Drop PHP 5.5 support - [`218a870`](https://github.com/doctrine/KeyValueStore/commit/218a870dd3ca9a5a4ce797146a55a9b450b0fe0d) Create UPGRADE.md ### 📊 Changes **8 files changed** (+123 additions, -175 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+1 -6) ➕ `UPGRADE.md` (+7 -0) 📝 `composer.json` (+2 -1) 📝 `docs/reference/basic-usage.rst` (+1 -1) 📝 `docs/reference/configuration.rst` (+6 -9) 📝 `lib/Doctrine/KeyValueStore/Storage/MongoDbStorage.php` (+40 -72) 📝 `tests/Doctrine/Tests/KeyValueStore/Storage/MongoDbStorageTest.php` (+66 -84) 📝 `tests/travis.sh` (+0 -2) </details> ### 📄 Description Fixes https://github.com/doctrine/KeyValueStore/issues/93 Things done: 1. drop PHP 5.5 support: mongodb package, Travis, PHP itself, etc... nobody is supporting it anymore 2. replaced deprecated `ext-mongo` with [`mongodb/mongodb:^1.4`](https://packagist.org/packages/mongodb/mongodb#1.4.0) 3. changed unit test for MongoDB with an integration test --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-23 11:35:16 +01:00
admin closed this issue 2026-01-23 11:35:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/KeyValueStore#119