Skip to content

Commit c9b5a43

Browse files
committed
Fix Version
1 parent f781f60 commit c9b5a43

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"psr/cache": "^1.0 || ^2.0 || ^3.0",
3535
"symfony/console": "^5.4 || ^6.0 || ^7.0",
3636
"symfony/deprecation-contracts": "^2.2 || ^3.0",
37-
"symfony/event-dispatcher": "^7.1",
3837
"symfony/var-dumper": "^5.4 || ^6.0 || ^7.0"
3938
},
4039
"require-dev": {
@@ -49,7 +48,7 @@
4948
"phpunit/phpunit": "^10.4",
5049
"squizlabs/php_codesniffer": "^3.5",
5150
"symfony/cache": "^5.4 || ^6.0 || ^7.0",
52-
"symfony/event-dispatcher-contracts": "^3.5",
51+
"symfony/event-dispatcher-contracts": "^2.0 || ^3.0",
5352
"vimeo/psalm": "~5.24.0"
5453
},
5554
"conflict": {

Diff for: tests/Doctrine/ODM/MongoDB/Tests/DocumentManagerTest.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
use Documents\Tournament\ParticipantSolo;
3333
use Documents\User;
3434
use InvalidArgumentException;
35+
use LogicException;
3536
use MongoDB\BSON\ObjectId;
3637
use MongoDB\Client;
3738
use PHPUnit\Framework\Attributes\DataProvider;
@@ -281,10 +282,10 @@ public function testCreateWithEventDispatcher(): void
281282
$client = new Client(self::getUri());
282283

283284
$eventDispatcher = $this->createMock(EventDispatcherInterface::class);
284-
$dm = DocumentManager::create($client, $config, $eventDispatcher);
285+
$dm = DocumentManager::create($client, $config, $eventDispatcher);
285286
self::assertSame($eventDispatcher, $dm->getEventDispatcher());
286287

287-
self::expectException(\LogicException::class);
288+
self::expectException(LogicException::class);
288289
self::expectExceptionMessage('Use getEventDispatcher() instead of getEventManager()');
289290
$dm->getEventManager();
290291
}

0 commit comments

Comments
 (0)