From 46a7b7746fc529d4a3ed36ea569ecca61e428443 Mon Sep 17 00:00:00 2001 From: Bastian Waidelich Date: Mon, 7 Oct 2024 15:52:14 +0200 Subject: [PATCH] BUGFIX: Fix doctrine/dbal v3 compatibility Fixes: #321 --- Classes/EventStore/Storage/Doctrine/DoctrineEventStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/EventStore/Storage/Doctrine/DoctrineEventStorage.php b/Classes/EventStore/Storage/Doctrine/DoctrineEventStorage.php index f51f5c6..f418a45 100644 --- a/Classes/EventStore/Storage/Doctrine/DoctrineEventStorage.php +++ b/Classes/EventStore/Storage/Doctrine/DoctrineEventStorage.php @@ -251,7 +251,7 @@ public function getStatus(): Result $result->addNotice(new Notice((string)$this->connection->getParams()['host'], null, [], 'Host')); $result->addNotice(new Notice((string)$this->connection->getParams()['port'], null, [], 'Port')); $result->addNotice(new Notice((string)$this->connection->getDatabase(), null, [], 'Database')); - $result->addNotice(new Notice((string)$this->connection->getDriver()->getName(), null, [], 'Driver')); + $result->addNotice(new Notice((string)$this->connection->getDatabasePlatform()?->getName(), null, [], 'Platform')); $result->addNotice(new Notice((string)$this->connection->getParams()['user'], null, [], 'Username')); if ($tableExists) { $result->addNotice(new Notice('%s (exists)', null, [$this->eventTableName], 'Table'));