From 25589ccadec956cc226701bc328f548eac1d27fe Mon Sep 17 00:00:00 2001 From: KJunker Date: Tue, 29 Nov 2022 18:11:01 +0100 Subject: [PATCH] No Return Type As the Repo did not specify any PHP min Version it is recommend to not use return statement --- src/Namers/PHPUnitNamer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Namers/PHPUnitNamer.php b/src/Namers/PHPUnitNamer.php index b9904e2..3289e04 100644 --- a/src/Namers/PHPUnitNamer.php +++ b/src/Namers/PHPUnitNamer.php @@ -68,7 +68,7 @@ private static function endsWith($haystack, $needle) return substr($haystack, -$length) === $needle; } - public function __toString(): string { + public function __toString() { return "[PHPUnit,class,method,reflection,testDirectory]=" ."[{$this->isPHPUnitTest},{$this->class},{$this->function},{$this->isReflection},{$this->testDirectory}]"; }