-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
85 lines (72 loc) · 2.43 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
85 lines (72 loc) · 2.43 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
parameters:
ignoreErrors:
-
rawMessage: 'Callback expects 0 parameters, $accepted_args is set to 2.'
identifier: arguments.count
count: 1
path: src/Optimization/CleanUp.php
-
rawMessage: Binary operation "." between '/' and mixed results in an error.
identifier: binaryOp.invalid
count: 1
path: src/Optimization/Enqueue.php
-
rawMessage: Constant WPINC not found.
identifier: constant.notFound
count: 1
path: src/Optimization/Enqueue.php
-
rawMessage: Cannot cast mixed to string.
identifier: cast.string
count: 3
path: src/Optimization/Media.php
-
rawMessage: 'Method JazzMan\Performance\Optimization\Media::mediaLibraryMonthsWithFiles() should return array<stdClass> but returns array.'
identifier: return.type
count: 1
path: src/Optimization/Media.php
-
rawMessage: 'Property WP_Taxonomy::$update_count_callback (callable) in isset() is not nullable.'
identifier: isset.property
count: 1
path: src/Optimization/TermCount.php
-
rawMessage: Right side of && is always true.
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: src/Optimization/TermCount.php
-
rawMessage: Cannot cast mixed to string.
identifier: cast.string
count: 1
path: src/Optimization/Update.php
-
rawMessage: Cannot cast mixed to int.
identifier: cast.int
count: 1
path: src/Optimization/WPQuery.php
-
rawMessage: 'Parameter #1 $maybeint of function absint expects array|bool|float|int|resource|string|null, mixed given.'
identifier: argument.type
count: 1
path: src/Optimization/WPQuery.php
-
rawMessage: 'Call to function is_array() with array{file: string, width: int, height: int, mime-type: string} will always evaluate to true.'
identifier: function.alreadyNarrowedType
count: 1
path: src/Utils/AttachmentData.php
-
rawMessage: Cannot cast mixed to int.
identifier: cast.int
count: 1
path: src/Utils/AttachmentData.php
-
rawMessage: 'Property JazzMan\Performance\Utils\AttachmentData::$attachmentHeight (int|null) is never assigned null so it can be removed from the property type.'
identifier: property.unusedType
count: 1
path: src/Utils/AttachmentData.php
-
rawMessage: 'Property JazzMan\Performance\Utils\AttachmentData::$attachmentWidth (int|null) is never assigned null so it can be removed from the property type.'
identifier: property.unusedType
count: 1
path: src/Utils/AttachmentData.php