-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
49 lines (38 loc) · 1.59 KB
/
phpstan-baseline.neon
File metadata and controls
49 lines (38 loc) · 1.59 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
38
39
40
41
42
43
44
45
46
parameters:
ignoreErrors:
-
message: "#^Callback expects 0 parameters, \\$accepted_args is set to 2\\.$#"
count: 1
path: src/Optimization/CleanUp.php
-
message: "#^Constant WPINC not found\\.$#"
count: 1
path: src/Optimization/Enqueue.php
-
message: "#^Property WP_Taxonomy\\:\\:\\$update_count_callback \\(callable\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Optimization/TermCount.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: src/Optimization/TermCount.php
-
message: "#^Path in require_once\\(\\) \"\\./wp\\-admin/includes/plugin\\.php\" is not a file or it does not exist\\.$#"
count: 1
path: src/Optimization/Update.php
-
message: "#^Parameter \\#1 \\$maybeint of function absint expects array\\|bool\\|float\\|int\\|resource\\|string\\|null, mixed given\\.$#"
count: 2
path: src/Optimization/WPQuery.php
-
message: "#^Call to function is_array\\(\\) with array\\{file\\: string, width\\: int, height\\: int, mime\\-type\\: string\\} will always evaluate to true\\.$#"
count: 1
path: src/Utils/AttachmentData.php
-
message: "#^Property JazzMan\\\\Performance\\\\Utils\\\\AttachmentData\\:\\:\\$attachmentHeight \\(int\\|null\\) is never assigned null so it can be removed from the property type\\.$#"
count: 1
path: src/Utils/AttachmentData.php
-
message: "#^Property JazzMan\\\\Performance\\\\Utils\\\\AttachmentData\\:\\:\\$attachmentWidth \\(int\\|null\\) is never assigned null so it can be removed from the property type\\.$#"
count: 1
path: src/Utils/AttachmentData.php