-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
139 lines (117 loc) · 4.19 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
139 lines (117 loc) · 4.19 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
parameters:
ignoreErrors:
-
message: '#^Parameter \#2 \$force of method CommonDBTM\:\:delete\(\) expects bool, int given\.$#'
identifier: argument.type
count: 1
path: front/addressing.form.php
-
message: '#^Parameter \#2 \$force of method CommonDBTM\:\:delete\(\) expects bool, int given\.$#'
identifier: argument.type
count: 1
path: front/filter.form.php
-
message: '#^Function plugin_addressing_addOrderBy\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: hook.php
-
message: '#^Missing PHPDoc tag @var for global variable \$INJECTABLE_TYPES$#'
identifier: glpi.missingGlobalVarType
count: 1
path: hook.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: hook.php
-
message: '#^Call to an undefined method CommonGLPI\:\:showReport\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Addressing.php
-
message: '#^Instantiating an object from an unrestricted dynamic string is forbidden \(see https\://github\.com/glpi\-project/phpstan\-glpi\?tab\=readme\-ov\-file\#forbiddynamicinstantiationrule\)\.$#'
identifier: glpi.forbidDynamicInstantiation
count: 1
path: src/Addressing.php
-
message: '#^Method GlpiPlugin\\Addressing\\Addressing\:\:cleanDBonPurge\(\) has invalid return type GlpiPlugin\\Addressing\\nothing\.$#'
identifier: class.notFound
count: 1
path: src/Addressing.php
-
message: '#^Method GlpiPlugin\\Addressing\\Addressing\:\:cleanDBonPurge\(\) should return GlpiPlugin\\Addressing\\nothing but return statement is missing\.$#'
identifier: return.missing
count: 1
path: src/Addressing.php
-
message: '#^PHPDoc tag @param has invalid value \(value the selected value\)\: Unexpected token "the", expected variable at offset 152 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: src/Addressing.php
-
message: '#^PHPDoc tag @throws with type GlpitestSQLError is not subtype of Throwable$#'
identifier: throws.notThrowable
count: 1
path: src/Addressing.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: src/Addressing.php
-
message: '#^PHPDoc tag @param has invalid value \(array\| \$options\)\: Unexpected token "\$options", expected type at offset 152 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: src/AddressingInjection.php
-
message: '#^PHPDoc tag @param has invalid value \(array\| \$values\)\: Unexpected token "\$values", expected type at offset 123 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: src/AddressingInjection.php
-
message: '#^Method GlpiPlugin\\Addressing\\Config\:\:showForm\(\) should return bool but return statement is missing\.$#'
identifier: return.missing
count: 1
path: src/Config.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: src/Config.php
-
message: '#^Access to an undefined property CommonGLPI\:\:\$fields\.$#'
identifier: property.notFound
count: 1
path: src/Filter.php
-
message: '#^Method GlpiPlugin\\Addressing\\Ping_Equipment\:\:ping\(\) should return array but returns false\.$#'
identifier: return.type
count: 1
path: src/Ping_Equipment.php
-
message: '#^Method GlpiPlugin\\Addressing\\Ping_Equipment\:\:ping\(\) should return array but returns true\.$#'
identifier: return.type
count: 5
path: src/Ping_Equipment.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 1
path: src/Ping_Equipment.php
-
message: '#^Variable \$nb in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 5
path: src/Ping_Equipment.php
-
message: '#^Call to an undefined method CommonGLPI\:\:getField\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Profile.php
-
message: '#^PHPDoc tag @return has invalid value \(\)\: Unexpected token "\\n ", expected type at offset 71 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: src/ReserveIp.php