forked from GitLabPHP/Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
27 lines (22 loc) · 925 Bytes
/
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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$callback of function set_error_handler expects \\(callable\\(int, string, string, int, array\\)\\: 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: "#^Property Gitlab\\\\Api\\\\AbstractApi\\:\\:\\$perPage is never written, only read\\.$#"
count: 1
path: src/Api/AbstractApi.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