Skip to content

Commit

Permalink
Merge pull request #322 from neos/task/321-fix-dbal-3-compatibility
Browse files Browse the repository at this point in the history
BUGFIX: Fix doctrine/dbal v3 compatibility
  • Loading branch information
bwaidelich authored Oct 9, 2024
2 parents 53fe558 + d9a2fca commit e67135b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/EventStore/Storage/Doctrine/DoctrineEventStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ public function getStatus(): Result
return $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->getParams()['port'] ?? 'default'), 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->getParams()['driver'] ?? '?'), null, [], 'Driver'));
$result->addNotice(new Notice((string)$this->connection->getParams()['user'], null, [], 'Username'));
if ($tableExists) {
$result->addNotice(new Notice('%s (exists)', null, [$this->eventTableName], 'Table'));
Expand Down

0 comments on commit e67135b

Please sign in to comment.