Skip to content

Commit

Permalink
Merge pull request #6738 from doctrine/deprecation-message
Browse files Browse the repository at this point in the history
Add missing sentence and placeholder.
  • Loading branch information
greg0ire authored Jan 25, 2025
2 parents 5eeeb33 + a7d0ee6 commit 4f8a8cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,10 @@ public function quoteIdentifier(string $identifier): string
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/6590',
'Use quoteSingleIdentifier() individually for each part of a qualified name instead.',
<<<'DEPRECATION'
Method %s is deprecated and will be removed in 5.0.
Use quoteSingleIdentifier() individually for each part of a qualified name instead.
DEPRECATION,
__METHOD__,
);

Expand Down
5 changes: 4 additions & 1 deletion src/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,10 @@ public function quoteIdentifier(string $identifier): string
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/6590',
'Use quoteSingleIdentifier() individually for each part of a qualified name instead.',
<<<'DEPRECATION'
Method %s is deprecated and will be removed in 5.0.
Use quoteSingleIdentifier() individually for each part of a qualified name instead.
DEPRECATION,
__METHOD__,
);

Expand Down

0 comments on commit 4f8a8cc

Please sign in to comment.