forked from cakephp/debug_kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpsalm-baseline.xml
More file actions
156 lines (156 loc) · 5.07 KB
/
psalm-baseline.xml
File metadata and controls
156 lines (156 loc) · 5.07 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.6.5@b1aae0d1a5a11908e0e5f9eb6795ab7bb3f43577">
<file src="src/Controller/DashboardController.php">
<InvalidNullableReturnType occurrences="1">
<code>\Cake\Http\Response</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$this->redirect(['action' => 'index'])</code>
</NullableReturnStatement>
</file>
<file src="src/Controller/MailPreviewController.php">
<PossiblyInvalidArgument occurrences="1">
<code>$partType</code>
</PossiblyInvalidArgument>
</file>
<file src="src/Database/Log/DebugLog.php">
<InternalProperty occurrences="1">
<code>$query->query</code>
</InternalProperty>
</file>
<file src="src/DebugInclude.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<PossiblyNullArrayOffset occurrences="2">
<code>$this->_pluginPaths</code>
<code>$this->_composerPaths</code>
</PossiblyNullArrayOffset>
<PossiblyNullOperand occurrences="1">
<code>$name</code>
</PossiblyNullOperand>
</file>
<file src="src/DebugSql.php">
<InternalMethod occurrences="1">
<code>bindings</code>
</InternalMethod>
</file>
<file src="src/DebugTimer.php">
<PossiblyNullArrayOffset occurrences="1">
<code>self::$_timers</code>
</PossiblyNullArrayOffset>
</file>
<file src="src/Log/Engine/DebugKitLog.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$type</code>
</MoreSpecificImplementedParamType>
</file>
<file src="src/Mailer/MailPreview.php">
<PossiblyFalseOperand occurrences="1">
<code>$pos</code>
</PossiblyFalseOperand>
</file>
<file src="src/Mailer/Transport/DebugKitTransport.php">
<InvalidReturnStatement occurrences="1">
<code>$result</code>
</InvalidReturnStatement>
<MoreSpecificReturnType occurrences="1">
<code>array</code>
</MoreSpecificReturnType>
<PropertyTypeCoercion occurrences="1">
<code>new $className($config)</code>
</PropertyTypeCoercion>
</file>
<file src="src/Middleware/DebugKitMiddleware.php">
<ArgumentTypeCoercion occurrences="1">
<code>$request</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Model/Table/LazyTableTrait.php">
<UndefinedClass occurrences="1">
<code>new $class($connection->configName())</code>
</UndefinedClass>
</file>
<file src="src/Panel/DeprecationsPanel.php">
<InvalidScalarArgument occurrences="4">
<code>$pluginName</code>
<code>$vendorName</code>
<code>$return['plugins']</code>
<code>$return['vendor']</code>
</InvalidScalarArgument>
</file>
<file src="src/Panel/EnvironmentPanel.php">
<PossiblyInvalidArgument occurrences="1">
<code>$var['user']</code>
</PossiblyInvalidArgument>
</file>
<file src="src/Panel/IncludePanel.php">
<InvalidScalarArgument occurrences="4">
<code>$pluginName</code>
<code>$vendorName</code>
<code>$return['plugins']</code>
<code>$return['vendor']</code>
</InvalidScalarArgument>
</file>
<file src="src/Panel/LogPanel.php">
<UndefinedInterfaceMethod occurrences="1">
<code>count</code>
</UndefinedInterfaceMethod>
</file>
<file src="src/Panel/MailPanel.php">
<ArgumentTypeCoercion occurrences="1">
<code>$transport</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Panel/PanelRegistry.php">
<ArgumentTypeCoercion occurrences="1">
<code>$instance</code>
</ArgumentTypeCoercion>
<LessSpecificImplementedReturnType occurrences="1">
<code>string|null</code>
</LessSpecificImplementedReturnType>
<LessSpecificReturnStatement occurrences="1">
<code>$instance</code>
</LessSpecificReturnStatement>
<MoreSpecificImplementedParamType occurrences="1">
<code>$class</code>
</MoreSpecificImplementedParamType>
<MoreSpecificReturnType occurrences="1">
<code>\DebugKit\DebugPanel</code>
</MoreSpecificReturnType>
</file>
<file src="src/Panel/SqlLogPanel.php">
<UndefinedInterfaceMethod occurrences="1">
<code>genericInstances</code>
</UndefinedInterfaceMethod>
</file>
<file src="src/Panel/VariablesPanel.php">
<InvalidArgument occurrences="1">
<code>$item</code>
</InvalidArgument>
<PossiblyInvalidArgument occurrences="3">
<code>$item</code>
<code>$item</code>
<code>$item</code>
</PossiblyInvalidArgument>
</file>
<file src="src/Plugin.php">
<InvalidArgument occurrences="1"/>
</file>
<file src="src/ToolbarService.php">
<InvalidScalarArgument occurrences="1">
<code>$row->id</code>
</InvalidScalarArgument>
<PossiblyNullOperand occurrences="1">
<code>env('HTTP_HOST')</code>
</PossiblyNullOperand>
<TypeDoesNotContainType occurrences="1">
<code>$url === false</code>
</TypeDoesNotContainType>
</file>
<file src="src/View/Helper/ToolbarHelper.php">
<InvalidArgument occurrences="1">
<code>$value</code>
</InvalidArgument>
</file>
</files>