Skip to content

Commit

Permalink
Merge branch '5.4' into 6.2
Browse files Browse the repository at this point in the history
* 5.4:
  [DoctrineBridge] Work around "Doctrine\DBAL\Connection::getEventManager()" deprecations
  [Routing] Fix Psalm
  [Lock] Fix sprintf
  Fix Crawler::filter throw phpdoc
  • Loading branch information
nicolas-grekas committed Jun 5, 2023
2 parents c968672 + 173c519 commit 1d86964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Store/DoctrineDbalPostgreSqlStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private function unlockShared(Key $key): void
private function filterDsn(string $dsn): string
{
if (!str_contains($dsn, '://')) {
throw new InvalidArgumentException(sprintf('String "%" is not a valid DSN for Doctrine DBAL.', $dsn));
throw new InvalidArgumentException(sprintf('String "%s" is not a valid DSN for Doctrine DBAL.', $dsn));
}

[$scheme, $rest] = explode(':', $dsn, 2);
Expand Down

0 comments on commit 1d86964

Please sign in to comment.