-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpsalm-report.json
152 lines (152 loc) · 8.39 KB
/
psalm-report.json
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
{
"error": [],
"warning": [
{
"severity": "info",
"line_from": 70,
"line_to": 70,
"type": "PossiblyNullReference",
"message": "Cannot call method getName on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Yves/Monitoring/EventHandler/EventHandler.php",
"snippet": " return static::TRANSACTION_NAME_PREFIX . $event->getCommand()->getName();",
"selected_text": "getName",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 26,
"line_to": 26,
"type": "LessSpecificImplementedReturnType",
"message": "The inherited return type 'array<string, array<int, array{0: string, 1?: int}|int|string>|string>' for Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents is more specific than the implemented return type for Spryker\\Yves\\Monitoring\\Plugin\\Console\\MonitoringConsolePlugin::getsubscribedevents 'array<array-key, mixed>'",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Yves/Monitoring/Plugin/Console/MonitoringConsolePlugin.php",
"snippet": " * @return array",
"selected_text": "array",
"error_level": 5,
"shortcode": 166
},
{
"severity": "info",
"line_from": 96,
"line_to": 96,
"type": "LessSpecificImplementedReturnType",
"message": "The inherited return type 'array<string, array<int, array{0: string, 1?: int}|int|string>|string>' for Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents is more specific than the implemented return type for Spryker\\Yves\\Monitoring\\Plugin\\ControllerListener::getsubscribedevents 'array<array-key, mixed>'",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Yves/Monitoring/Plugin/ControllerListener.php",
"snippet": " * @return array",
"selected_text": "array",
"error_level": 5,
"shortcode": 166
},
{
"severity": "info",
"line_from": 70,
"line_to": 70,
"type": "PossiblyNullReference",
"message": "Cannot call method getName on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Business/EventHandler/EventHandler.php",
"snippet": " return static::TRANSACTION_NAME_PREFIX . $event->getCommand()->getName();",
"selected_text": "getName",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 27,
"line_to": 27,
"type": "LessSpecificImplementedReturnType",
"message": "The inherited return type 'array<string, array<int, array{0: string, 1?: int}|int|string>|string>' for Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents is more specific than the implemented return type for Spryker\\Zed\\Monitoring\\Communication\\Plugin\\Console\\MonitoringConsolePlugin::getsubscribedevents 'array<array-key, mixed>'",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Communication/Plugin/Console/MonitoringConsolePlugin.php",
"snippet": " * @return array",
"selected_text": "array",
"error_level": 5,
"shortcode": 166
},
{
"severity": "info",
"line_from": 135,
"line_to": 135,
"type": "LessSpecificImplementedReturnType",
"message": "The inherited return type 'array<string, array<int, array{0: string, 1?: int}|int|string>|string>' for Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents is more specific than the implemented return type for Spryker\\Zed\\Monitoring\\Communication\\Plugin\\ControllerListener::getsubscribedevents 'array<array-key, mixed>'",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Communication/Plugin/ControllerListener.php",
"snippet": " * @return array",
"selected_text": "array",
"error_level": 5,
"shortcode": 166
},
{
"severity": "info",
"line_from": 51,
"line_to": 51,
"type": "LessSpecificImplementedReturnType",
"message": "The inherited return type 'array<string, array<int, array{0: string, 1?: int}|int|string>|string>' for Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents is more specific than the implemented return type for Spryker\\Zed\\Monitoring\\Communication\\Plugin\\GatewayControllerListener::getsubscribedevents 'array<array-key, mixed>'",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Communication/Plugin/GatewayControllerListener.php",
"snippet": " * @return array",
"selected_text": "array",
"error_level": 5,
"shortcode": 166
},
{
"severity": "info",
"line_from": 59,
"line_to": 59,
"type": "PossiblyNullReference",
"message": "Cannot call method getName on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Communication/Plugin/MonitoringConsolePlugin.php",
"snippet": " return static::TRANSACTION_NAME_PREFIX . $event->getCommand()->getName();",
"selected_text": "getName",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 67,
"line_to": 67,
"type": "LessSpecificImplementedReturnType",
"message": "The inherited return type 'array<string, array<int, array{0: string, 1?: int}|int|string>|string>' for Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents is more specific than the implemented return type for Spryker\\Zed\\Monitoring\\Communication\\Plugin\\MonitoringConsolePlugin::getsubscribedevents 'array<array-key, mixed>'",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Communication/Plugin/MonitoringConsolePlugin.php",
"snippet": " * @return array",
"selected_text": "array",
"error_level": 5,
"shortcode": 166
}
],
"deprecation": [
{
"severity": "info",
"line_from": 61,
"line_to": 61,
"type": "DeprecatedMethod",
"message": "The method Symfony\\Component\\HttpKernel\\Event\\KernelEvent::isMasterRequest has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Yves/Monitoring/Plugin/ControllerListener.php",
"snippet": " if (!$event->isMasterRequest()) {",
"selected_text": "isMasterRequest",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 82,
"line_to": 82,
"type": "DeprecatedMethod",
"message": "The method Symfony\\Component\\HttpKernel\\Event\\KernelEvent::isMasterRequest has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Communication/Plugin/ControllerListener.php",
"snippet": " if (!$event->isMasterRequest()) {",
"selected_text": "isMasterRequest",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 96,
"line_to": 96,
"type": "DeprecatedMethod",
"message": "The method Spryker\\Zed\\Monitoring\\Communication\\Plugin\\ControllerListener::addStore has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/Monitoring/src/Spryker/Zed/Monitoring/Communication/Plugin/ControllerListener.php",
"snippet": " $this->addStore();",
"selected_text": "addStore",
"error_level": 2,
"shortcode": 1
}
],
"count": 12
}