Skip to content

Commit

Permalink
Fix phpstan-baseline.neon
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedghanem00 committed May 18, 2024
1 parent d371e7a commit be851b6
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit be851b6

Please sign in to comment.