Skip to content

Commit c5a023e

Browse files
committed
chore: ignore irrelevant linting errors
1 parent aeee994 commit c5a023e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

phpstan.baseline.neon

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,18 @@ parameters:
5454
message: "#^Match arm is unreachable because previous comparison is always true.$#"
5555
count: 1
5656
path: src/Http/Pool.php
57+
58+
-
59+
message: "#^Method Saloon\\\\Http\\\\Faking\\\\MockClient\\:\\:getRequestClass\\(\\) should return class-string|null but returns class-string<Saloon\\\\Http\\\\Request>|Saloon\\\\Http\\\\Request$#"
60+
count: 1
61+
path: src/Http/Faking/MockClient.php
62+
63+
-
64+
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#"
65+
count: 1
66+
path: src/Http/Faking/MockClient.php
67+
68+
-
69+
message: "#^Parameter \\#1 \\$function of class ReflectionFunction constructor expects Closure|string, callable\\(\\)\\: mixed given\\.$#"
70+
count: 1
71+
path: src/Http/Faking/MockClient.php

0 commit comments

Comments
 (0)