forked from rhubarbgroup/redis-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
56 lines (46 loc) · 1.66 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
parameters:
ignoreErrors:
-
message: "#^Class RedisCluster constructor invoked with 1 parameter, 2\\-6 required\\.$#"
count: 1
path: .php-tools/object-cache.php
-
message: "#^Parameter \\#1 \\$autoload_function of function spl_autoload_register expects callable\\(string\\)\\: void, array\\{\\$this\\(Rhubarb\\\\RedisCache\\\\Autoloader\\), 'load_class'\\} given\\.$#"
count: 1
path: includes/class-autoloader.php
-
message: "#^Access to private property WP_Object_Cache\\:\\:\\$cache\\.$#"
count: 2
path: includes/class-plugin.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: includes/diagnostics.php
-
message: "#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: includes/diagnostics.php
-
message: "#^Class WP_Object_Cache constructor invoked with 1 parameter, 0 required\\.$#"
count: 1
path: includes/diagnostics.php
-
message: "#^Offset 1 on \\*NEVER\\* in isset\\(\\) always exists and is always null\\.$#"
count: 1
path: includes/diagnostics.php
-
message: "#^Result of && is always false\\.$#"
count: 2
path: includes/diagnostics.php
-
message: "#^Call to protected method after_non_tabular_output\\(\\) of class QM_Output_Html\\.$#"
count: 1
path: includes/ui/query-monitor.php
-
message: "#^Call to protected method before_non_tabular_output\\(\\) of class QM_Output_Html\\.$#"
count: 1
path: includes/ui/query-monitor.php
-
message: "#^Access to private property Rhubarb\\\\RedisCache\\\\Plugin\\:\\:\\$page\\.$#"
count: 1
path: includes/ui/widget.php