-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
37 lines (32 loc) · 1.09 KB
/
phpstan-baseline.neon
File metadata and controls
37 lines (32 loc) · 1.09 KB
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
parameters:
ignoreErrors:
-
message: '#^Parameter \$image of method Ymir\\Plugin\\Attachment\\GDImageEditor\:\:_save\(\) has invalid type GdImage\.$#'
identifier: class.notFound
count: 1
path: src/Attachment/GDImageEditor.php
-
message: '#^Class CurlHandle not found\.$#'
identifier: class.notFound
count: 1
path: src/Http/CurlClient.php
-
message: '#^Constant WPINC not found\.$#'
identifier: constant.notFound
count: 1
path: src/Http/CurlClient.php
-
message: '#^Parameter \#3 \$value of function curl_setopt expects int, float given\.$#'
identifier: argument.type
count: 2
path: src/Http/CurlClient.php
-
message: '#^Property Ymir\\Plugin\\Http\\CurlClient\:\:\$handle \(CurlHandle\|resource\) is never assigned CurlHandle so it can be removed from the property type\.$#'
identifier: property.unusedType
count: 1
path: src/Http/CurlClient.php
-
message: '#^Property Ymir\\Plugin\\Http\\CurlClient\:\:\$handle has unknown class CurlHandle as its type\.$#'
identifier: class.notFound
count: 1
path: src/Http/CurlClient.php