-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathphpstan-baseline.neon
106 lines (86 loc) · 2.95 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
parameters:
ignoreErrors:
-
message: "#^Constant BETTER_SEARCH_PLUGIN_DIR not found\\.$#"
count: 1
path: includes/admin/class-admin.php
-
message: "#^Constant BETTER_SEARCH_PLUGIN_URL not found\\.$#"
count: 7
path: includes/admin/class-admin.php
-
message: "#^Variable \\$menu_page might not be defined\\.$#"
count: 1
path: includes/admin/settings/class-settings-api.php
-
message: "#^Constant BETTER_SEARCH_PLUGIN_URL not found\\.$#"
count: 4
path: includes/admin/settings/sidebar.php
-
message: "#^Constant BETTER_SEARCH_PLUGIN_DIR not found\\.$#"
count: 1
path: includes/autoloader.php
-
message: "#^Access to an undefined property WP_Query\\:\\:\\$topscore\\.$#"
count: 3
path: includes/class-better-search-core-query.php
-
message: "#^Cannot access property \\$score on int\\|WP_Post\\.$#"
count: 1
path: includes/class-better-search-core-query.php
-
message: "#^Variable \\$cache_name might not be defined\\.$#"
count: 1
path: includes/class-better-search-core-query.php
-
message: "#^Variable \\$cache_time might not be defined\\.$#"
count: 1
path: includes/class-better-search-core-query.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: includes/class-tracker.php
-
message: "#^Property WP\\:\\:\\$query_vars \\(array\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: includes/class-tracker.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 1
path: includes/class-tracker.php
-
message: "#^Variable \\$wp in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: includes/class-tracker.php
-
message: "#^Method WebberZone\\\\Better_Search\\\\Frontend\\\\Widgets\\\\Search_Box\\:\\:form\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: includes/frontend/widgets/class-search-box.php
-
message: "#^Method WebberZone\\\\Better_Search\\\\Frontend\\\\Widgets\\\\Search_Heatmap\\:\\:form\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: includes/frontend/widgets/class-search-heatmap.php
-
message: "#^Parameter \\#2 \\$array of function implode expects array\\<string\\>, array\\<int\\<0, max\\>, string\\|WP_Error\\> given\\.$#"
count: 1
path: includes/general-template.php
-
message: "#^Function the_bsearch_heatmap\\(\\) never returns void so it can be removed from the return type\\.$#"
count: 1
path: includes/heatmap.php
-
message: "#^Variable \\$a might not be defined\\.$#"
count: 2
path: includes/heatmap.php
-
message: "#^Constant DB_NAME not found\\.$#"
count: 1
path: includes/pro/class-fuzzy-search.php
-
message: "#^Access to an undefined property Better_Search_Query\\:\\:\\$topscore\\.$#"
count: 1
path: templates/template.php
-
message: "#^Variable \\$post might not be defined\\.$#"
count: 6
path: templates/template.php