diff --git a/src/Query/QueryBuilder.php b/src/Query/QueryBuilder.php index cfed4b0130e..246cde1a6e4 100644 --- a/src/Query/QueryBuilder.php +++ b/src/Query/QueryBuilder.php @@ -628,7 +628,7 @@ public function select($select = null/*, string ...$selects*/) Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/issues/3837', - 'Passing an array for the first argument to QueryBuilder::select is deprecated, ' . + 'Passing an array for the first argument to QueryBuilder::select() is deprecated, ' . 'pass each value as an individual variadic argument instead.' ); } @@ -687,7 +687,7 @@ public function addSelect($select = null/*, string ...$selects*/) Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/issues/3837', - 'Passing an array for the first argument to QueryBuilder::addSelect is deprecated, ' . + 'Passing an array for the first argument to QueryBuilder::addSelect() is deprecated, ' . 'pass each value as an individual variadic argument instead.' ); } @@ -1068,7 +1068,7 @@ public function groupBy($groupBy/*, string ...$groupBys*/) Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/issues/3837', - 'Passing an array for the first argument to QueryBuilder::groupBy is deprecated, ' . + 'Passing an array for the first argument to QueryBuilder::groupBy() is deprecated, ' . 'pass each value as an individual variadic argument instead.' ); } @@ -1106,7 +1106,7 @@ public function addGroupBy($groupBy/*, string ...$groupBys*/) Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/issues/3837', - 'Passing an array for the first argument to QueryBuilder::addGroupBy is deprecated, ' . + 'Passing an array for the first argument to QueryBuilder::addGroupBy() is deprecated, ' . 'pass each value as an individual variadic argument instead.' ); } diff --git a/src/Schema/AbstractSchemaManager.php b/src/Schema/AbstractSchemaManager.php index 83b757ac807..50b9facee52 100644 --- a/src/Schema/AbstractSchemaManager.php +++ b/src/Schema/AbstractSchemaManager.php @@ -232,7 +232,7 @@ public function tablesExist($names) Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/issues/3580', - 'The usage of a string $tableNames in AbstractSchemaManager::tablesExist is deprecated. ' . + 'The usage of a string $tableNames in AbstractSchemaManager::tablesExist() is deprecated. ' . 'Pass a one-element array instead.' ); } diff --git a/tests/Platforms/SqlitePlatformTest.php b/tests/Platforms/SqlitePlatformTest.php index 360e9e964ad..de0cf0bd88d 100644 --- a/tests/Platforms/SqlitePlatformTest.php +++ b/tests/Platforms/SqlitePlatformTest.php @@ -591,7 +591,7 @@ protected function getQuotedAlterTableChangeColumnLengthSQL(): array public function testAlterTableRenameIndexInSchema(): void { self::markTestIncomplete( - 'Test currently produces broken SQL due to SQLLitePlatform::getAlterTable being broken ' . + 'Test currently produces broken SQL due to SQLLitePlatform::getAlterTable() being broken ' . 'when used with schemas.' ); } @@ -599,7 +599,7 @@ public function testAlterTableRenameIndexInSchema(): void public function testQuotesAlterTableRenameIndexInSchema(): void { self::markTestIncomplete( - 'Test currently produces broken SQL due to SQLLitePlatform::getAlterTable being broken ' . + 'Test currently produces broken SQL due to SQLLitePlatform::getAlterTable() being broken ' . 'when used with schemas.' ); }