Skip to content

Commit

Permalink
Add support for MongoDB ODM Bundle v5 with Symfony 7.0 full compatibi…
Browse files Browse the repository at this point in the history
…lity (#6090)

* chore: mongodb 5.x for symfony 7

* phpstan false positive

---------

Co-authored-by: soyuka <[email protected]>
  • Loading branch information
GromNaN and soyuka authored Jan 15, 2024
1 parent 467ad60 commit 59ee6f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"doctrine/dbal": "^3.4.0",
"doctrine/doctrine-bundle": "^1.12 || ^2.0",
"doctrine/mongodb-odm": "^2.2",
"doctrine/mongodb-odm-bundle": "^4.0 || ^5.0",
"doctrine/orm": "^2.14",
"elasticsearch/elasticsearch": "^7.11.0",
"friends-of-behat/mink-browserkit-driver": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Test/DoctrineMongoDbOdmFilterTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function setUp(): void
self::bootKernel();

$this->manager = DoctrineMongoDbOdmTestCase::createTestDocumentManager();
$this->managerRegistry = self::$kernel->getContainer()->get('doctrine_mongodb'); // @phpstan-ignore-line
$this->managerRegistry = self::$kernel->getContainer()->get('doctrine_mongodb');
$this->repository = $this->manager->getRepository($this->resourceClass);
}

Expand Down

0 comments on commit 59ee6f2

Please sign in to comment.