From e271143ed8c7ec36fe302e91472546a29c31e657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sat, 25 Apr 2020 20:28:24 +0200 Subject: [PATCH] Use an empty string instead of null See https://github.com/vimeo/psalm/issues/3224 --- .../DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php b/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php index 669d78445fc..38957831701 100644 --- a/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php +++ b/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php @@ -60,7 +60,7 @@ protected function getPlatformName() : string $e = explode('\\', $class); $testClass = end($e); - return strtolower(str_replace('SchemaManagerTest', null, $testClass)); + return strtolower(str_replace('SchemaManagerTest', '', $testClass)); } protected function setUp() : void