From be851b63d1c495fab252f9e5979ab068e2b50628 Mon Sep 17 00:00:00 2001 From: Ahmed Ghanem Date: Sat, 18 May 2024 10:06:45 +0300 Subject: [PATCH] Fix phpstan-baseline.neon --- phpstan-baseline.neon | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index bfb5304..78cf974 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,9 +1,16 @@ parameters: - ignoreErrors: - - message: "#^Method ahmedghanem00\\\\TempNumberClient\\\\Exception\\\\API\\\\APIException\\:\\:newFromErrorName\\(\\) should return static\\(ahmedghanem00\\\\TempNumberClient\\\\Exception\\\\API\\\\APIException\\) but returns ahmedghanem00\\\\TempNumberClient\\\\Exception\\\\API\\\\APIException\\.$#" - count: 1 - path: src/Exception/API/APIException.php + ignoreErrors: + - + message: "#^Method ahmedghanem00\\\\TempNumberClient\\\\Exception\\\\API\\\\APIException\\:\\:newFromErrorName\\(\\) should return static\\(ahmedghanem00\\\\TempNumberClient\\\\Exception\\\\API\\\\APIException\\) but returns ahmedghanem00\\\\TempNumberClient\\\\Exception\\\\API\\\\APIException\\.$#" + count: 1 + path: src/Exception/API/APIException.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" - count: 2 - path: tests/unit/ClientTest.php + - + message: "#^Property ahmedghanem00\\\\TempNumberClient\\\\Tests\\\\unit\\\\ClientTest\\:\\:\\$client is unused\\.$#" + count: 1 + path: tests/Unit/ClientTest.php + + - + message: "#^Property ahmedghanem00\\\\TempNumberClient\\\\Tests\\\\unit\\\\ClientTest\\:\\:\\$client is unused\\.$#" + count: 1 + path: tests/unit/ClientTest.php