-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
103 lines (87 loc) · 3.03 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
103 lines (87 loc) · 3.03 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
parameters:
ignoreErrors:
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 8
path: app/Tarosky/OpenHour/Formatter.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 4
path: app/Tarosky/OpenHour/Model.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Tarosky/OpenHour/Pattern/AbstractMetaBox.php
-
message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
identifier: argument.type
count: 1
path: app/Tarosky/OpenHour/Pattern/AbstractWidget.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 1
path: app/Tarosky/OpenHour/Pattern/AbstractWidget.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Tarosky/OpenHour/Pattern/AbstractWidget.php
-
message: '#^PHPDoc tag @param references unknown parameter\: \$settings$#'
identifier: parameter.notFound
count: 1
path: app/Tarosky/OpenHour/Pattern/Singleton.php
-
message: '#^Parameter \#1 \$post of function is_single expects array\<int\|string\>\|int\|string, WP_Post given\.$#'
identifier: argument.type
count: 1
path: app/Tarosky/OpenHour/Places.php
-
message: '#^Method Tarosky\\OpenHour\\Services\\MetaInfo\:\:get_location_for_current_page\(\) should return WP_Post\|null but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Tarosky/OpenHour/Services/MetaInfo.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Tarosky/OpenHour/Services/MetaInfo.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Tarosky/OpenHour/Widgets/SiteLocation.php
-
message: '#^Binary operation "\-" between string and 1 results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/functions.php
-
message: '#^Call to method is_open\(\) on an unknown class Bootstrap\.$#'
identifier: class.notFound
count: 1
path: includes/functions.php
-
message: '#^Class WP_Post referenced with incorrect case\: WP_post\.$#'
identifier: class.nameCase
count: 2
path: includes/functions.php
-
message: '#^Expected 1 @param tags, found 2\.$#'
identifier: paramTag.count
count: 1
path: includes/functions.php
-
message: '#^Function tsoh_get_timetable\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/functions.php
-
message: '#^Variable \$wpdb in PHPDoc tag @var does not match any global variable\: \$haoh$#'
identifier: varTag.differentVariable
count: 1
path: includes/functions.php