Skip to content

Commit

Permalink
Remove unwanted plural in pull request url pattern
Browse files Browse the repository at this point in the history
That route leads to a list of PRs.
  • Loading branch information
greg0ire committed Sep 17, 2022
1 parent 4cbbe6e commit f49a610
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ private function getServerVersion()

Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4750',
'https://github.com/doctrine/dbal/pull/4750',
'Not implementing the ServerInfoAwareConnection interface in %s is deprecated',
get_class($connection),
);
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/AbstractMySQLPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public function prefersIdentityColumns()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/1519',
'https://github.com/doctrine/dbal/pull/1519',
'AbstractMySQLPlatform::prefersIdentityColumns() is deprecated.',
);

Expand Down
68 changes: 34 additions & 34 deletions src/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ public function getSqlCommentStartString()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getSqlCommentStartString() is deprecated.',
);

Expand All @@ -609,7 +609,7 @@ public function getSqlCommentEndString()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getSqlCommentEndString() is deprecated.',
);

Expand Down Expand Up @@ -715,7 +715,7 @@ public function getWildcards()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getWildcards() is deprecated.'
. ' Use AbstractPlatform::getLikeWildcardCharacters() instead.',
);
Expand Down Expand Up @@ -748,7 +748,7 @@ public function getAvgExpression($column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getAvgExpression() is deprecated. Use AVG() in SQL instead.',
);

Expand All @@ -770,7 +770,7 @@ public function getCountExpression($column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getCountExpression() is deprecated. Use COUNT() in SQL instead.',
);

Expand All @@ -790,7 +790,7 @@ public function getMaxExpression($column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getMaxExpression() is deprecated. Use MAX() in SQL instead.',
);

Expand All @@ -810,7 +810,7 @@ public function getMinExpression($column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getMinExpression() is deprecated. Use MIN() in SQL instead.',
);

Expand All @@ -830,7 +830,7 @@ public function getSumExpression($column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getSumExpression() is deprecated. Use SUM() in SQL instead.',
);

Expand All @@ -854,7 +854,7 @@ public function getMd5Expression($column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getMd5Expression() is deprecated.',
);

Expand Down Expand Up @@ -886,7 +886,7 @@ public function getSqrtExpression($column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getSqrtExpression() is deprecated. Use SQRT() in SQL instead.',
);

Expand All @@ -907,7 +907,7 @@ public function getRoundExpression($column, $decimals = 0)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getRoundExpression() is deprecated. Use ROUND() in SQL instead.',
);

Expand Down Expand Up @@ -978,7 +978,7 @@ public function getRtrimExpression($str)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getRtrimExpression() is deprecated. Use RTRIM() in SQL instead.',
);

Expand All @@ -998,7 +998,7 @@ public function getLtrimExpression($str)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getLtrimExpression() is deprecated. Use LTRIM() in SQL instead.',
);

Expand All @@ -1019,7 +1019,7 @@ public function getUpperExpression($str)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getUpperExpression() is deprecated. Use UPPER() in SQL instead.',
);

Expand All @@ -1040,7 +1040,7 @@ public function getLowerExpression($str)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getLowerExpression() is deprecated. Use LOWER() in SQL instead.',
);

Expand Down Expand Up @@ -1136,7 +1136,7 @@ public function getNotExpression($expression)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getNotExpression() is deprecated. Use NOT() in SQL instead.',
);

Expand All @@ -1156,7 +1156,7 @@ public function getIsNullExpression($expression)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getIsNullExpression() is deprecated. Use IS NULL in SQL instead.',
);

Expand All @@ -1176,7 +1176,7 @@ public function getIsNotNullExpression($expression)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getIsNotNullExpression() is deprecated. Use IS NOT NULL in SQL instead.',
);

Expand Down Expand Up @@ -1204,7 +1204,7 @@ public function getBetweenExpression($expression, $value1, $value2)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getBetweenExpression() is deprecated. Use BETWEEN in SQL instead.',
);

Expand All @@ -1224,7 +1224,7 @@ public function getAcosExpression($value)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getAcosExpression() is deprecated. Use ACOS() in SQL instead.',
);

Expand All @@ -1244,7 +1244,7 @@ public function getSinExpression($value)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getSinExpression() is deprecated. Use SIN() in SQL instead.',
);

Expand All @@ -1262,7 +1262,7 @@ public function getPiExpression()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getPiExpression() is deprecated. Use PI() in SQL instead.',
);

Expand All @@ -1282,7 +1282,7 @@ public function getCosExpression($value)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getCosExpression() is deprecated. Use COS() in SQL instead.',
);

Expand Down Expand Up @@ -3135,7 +3135,7 @@ public function getTemporaryTableSQL()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getTemporaryTableSQL() is deprecated.',
);

Expand Down Expand Up @@ -3264,7 +3264,7 @@ public function getUniqueFieldDeclarationSQL()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getUniqueFieldDeclarationSQL() is deprecated. Use UNIQUE in SQL instead.',
);

Expand Down Expand Up @@ -3311,7 +3311,7 @@ public function prefersIdentityColumns()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/1519',
'https://github.com/doctrine/dbal/pull/1519',
'AbstractPlatform::prefersIdentityColumns() is deprecated.',
);

Expand Down Expand Up @@ -3536,7 +3536,7 @@ public function getListUsersSQL()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::getListUsersSQL() is deprecated.',
);

Expand Down Expand Up @@ -3835,7 +3835,7 @@ public function supportsIndexes()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::supportsIndexes() is deprecated.',
);

Expand Down Expand Up @@ -3871,7 +3871,7 @@ public function supportsAlterTable()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::supportsAlterTable() is deprecated. All platforms must implement altering tables.',
);

Expand All @@ -3889,7 +3889,7 @@ public function supportsTransactions()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::supportsTransactions() is deprecated.',
);

Expand Down Expand Up @@ -3927,7 +3927,7 @@ public function supportsPrimaryConstraints()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::supportsPrimaryConstraints() is deprecated.',
);

Expand Down Expand Up @@ -4029,7 +4029,7 @@ public function supportsGettingAffectedRows()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::supportsGettingAffectedRows() is deprecated.',
);

Expand Down Expand Up @@ -4105,7 +4105,7 @@ public function supportsViews()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::supportsViews() is deprecated. All platforms must implement support for views.',
);

Expand Down Expand Up @@ -4231,7 +4231,7 @@ public function supportsLimitOffset()
{
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/4724',
'https://github.com/doctrine/dbal/pull/4724',
'AbstractPlatform::supportsViews() is deprecated.'
. ' All platforms must implement support for offsets in modify limit clauses.',
);
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/DB2Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ public function prefersIdentityColumns()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/1519',
'https://github.com/doctrine/dbal/pull/1519',
'DB2Platform::prefersIdentityColumns() is deprecated.',
);

Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/SQLServerPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function prefersIdentityColumns()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/1519',
'https://github.com/doctrine/dbal/pull/1519',
'SQLServerPlatform::prefersIdentityColumns() is deprecated.',
);

Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/SqlitePlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function prefersIdentityColumns()
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pulls/1519',
'https://github.com/doctrine/dbal/pull/1519',
'SqlitePlatform::prefersIdentityColumns() is deprecated.',
);

Expand Down

0 comments on commit f49a610

Please sign in to comment.