diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index de3f39b1..220fd9eb 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -206,7 +206,7 @@ parameters: path: test/Unit/DurationTest.php - - message: "#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Exception\\\\InvalidCountTest\\:\\:testNotGreaterThanZeroReturnsException\\(\\) has no return type specified\\.$#" + message: "#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Exception\\\\InvalidCountTest\\:\\:testNotGreaterThanOrEqualToZeroReturnsException\\(\\) has no return type specified\\.$#" count: 1 path: test/Unit/Exception/InvalidCountTest.php diff --git a/test/Unit/Exception/InvalidCountTest.php b/test/Unit/Exception/InvalidCountTest.php index 831c5fd3..a53f5511 100644 --- a/test/Unit/Exception/InvalidCountTest.php +++ b/test/Unit/Exception/InvalidCountTest.php @@ -24,7 +24,7 @@ final class InvalidCountTest extends Framework\TestCase { use Test\Util\Helper; - public function testNotGreaterThanZeroReturnsException() + public function testNotGreaterThanOrEqualToZeroReturnsException() { $value = self::faker()->numberBetween();