-
-
Notifications
You must be signed in to change notification settings - Fork 452
/
phpstan-baseline.neon
42 lines (34 loc) · 1.58 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$callback of function set_error_handler expects \\(callable\\(int, string, string, int\\)\\: bool\\)\\|null, Closure\\(\\)\\: void given\\.$#"
count: 1
path: src/Api/AbstractApi.php
-
message: "#^Parameter \\#2 \\$resource of method Http\\\\Message\\\\MultipartStream\\\\MultipartStreamBuilder\\:\\:addResource\\(\\) expects Psr\\\\Http\\\\Message\\\\StreamInterface\\|resource\\|string, mixed given\\.$#"
count: 1
path: src/Api/AbstractApi.php
-
message: "#^Parameter \\#4 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
count: 1
path: src/Api/AbstractApi.php
-
message: "#^Property Gitlab\\\\Api\\\\AbstractApi\\:\\:\\$perPage is never written, only read\\.$#"
count: 1
path: src/Api/AbstractApi.php
-
message: "#^PHPDoc tag @return contains generic type Http\\\\Promise\\\\Promise\\<Psr\\\\Http\\\\Message\\\\ResponseInterface\\> but interface Http\\\\Promise\\\\Promise is not generic\\.$#"
count: 1
path: src/HttpClient/Plugin/Authentication.php
-
message: "#^PHPDoc tag @return contains generic type Http\\\\Promise\\\\Promise\\<Psr\\\\Http\\\\Message\\\\ResponseInterface\\> but interface Http\\\\Promise\\\\Promise is not generic\\.$#"
count: 1
path: src/HttpClient/Plugin/ExceptionThrower.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: src/HttpClient/Util/QueryStringBuilder.php
-
message: "#^Variable method call on Gitlab\\\\Api\\\\AbstractApi\\.$#"
count: 1
path: src/ResultPager.php