From 294e99d5c0c509735e918ddc7caa739ff1e80589 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 7b76f802612..80adb98005b 100644 --- a/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php +++ b/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php @@ -58,7 +58,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