From 566e2cb526430952c3c369961e4e3c3d7260c972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Tue, 31 Dec 2019 11:15:57 +0100 Subject: [PATCH] Rename method to match parent name Since PHP is case insensitive for method names this is BC compatible. --- lib/Doctrine/DBAL/Platforms/SqlitePlatform.php | 2 +- phpstan-baseline.neon | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php b/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php index 2c54f6dc4ec..42e7f96f063 100644 --- a/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php +++ b/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php @@ -606,7 +606,7 @@ public static function udfLocate($str, $substr, $offset = 0) /** * {@inheritDoc} */ - public function getForUpdateSQL() + public function getForUpdateSql() { return ''; } diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 5463baa4b14..4d81e79fcd5 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -241,11 +241,6 @@ parameters: count: 3 path: lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php - - - message: "#^Method Doctrine\\\\DBAL\\\\Platforms\\\\SqlitePlatform\\:\\:getForUpdateSql\\(\\) has no return typehint specified\\.$#" - count: 1 - path: lib/Doctrine/DBAL/Platforms/SqlitePlatform.php - - message: "#^Method Doctrine\\\\DBAL\\\\Portability\\\\Connection\\:\\:executeQuery\\(\\) return type has no value type specified in iterable type Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\.$#" count: 1