-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphpstan.baseline.neon
67 lines (57 loc) · 3.19 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
parameters:
ignoreErrors:
-
message: '#^Cognitive complexity for "Brotkrueml\\MatomoWidgets\\Configuration\\ConfigurationFinder\:\:buildConfigurations\(\)" is 14, keep it under 8$#'
identifier: complexity.functionLike
count: 1
path: Classes/Configuration/ConfigurationFinder.php
-
message: '#^Method Brotkrueml\\MatomoWidgets\\Connection\\MatomoConnector\:\:callApi\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: Classes/Connection/MatomoConnector.php
-
message: '#^Parameter \#1 \$details of method Brotkrueml\\MatomoWidgets\\Domain\\Aggregation\\JavaScriptErrorDetailsAggregator\:\:aggregate\(\) expects list\<array\{browserName\: string, browserIcon\: string, browserVersion\: string, actionDetails\: list\<array\{type\: string, eventCategory\: string, eventAction\: string, url\: string, timestamp\: int\}\>\}\>, array given\.$#'
identifier: argument.type
count: 1
path: Classes/Controller/JavaScriptErrorDetailsController.php
-
message: '#^Parameter \#1 \$array \(list\<mixed\>\) of array_values is already a list, call has no effect\.$#'
identifier: arrayValues.list
count: 3
path: Classes/Domain/Entity/JavaScriptErrorDetails.php
-
message: '#^Method Brotkrueml\\MatomoWidgets\\Domain\\Repository\\MatomoRepository\:\:send\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: Classes/Domain/Repository/MatomoRepository.php
-
message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: Classes/Parameter/LanguageParameterResolver.php
-
message: '#^Method Brotkrueml\\MatomoWidgets\\Widgets\\Provider\\GenericTableDataProvider\:\:getClasses\(\) should return list\<string\> but returns array\<string\>\.$#'
identifier: return.type
count: 1
path: Classes/Widgets/Provider/GenericTableDataProvider.php
-
message: '#^Method Brotkrueml\\MatomoWidgets\\Widgets\\Provider\\GenericTableDataProvider\:\:getHeaders\(\) should return list\<string\> but returns array\<string\>\.$#'
identifier: return.type
count: 1
path: Classes/Widgets/Provider/GenericTableDataProvider.php
-
message: '#^Method Brotkrueml\\MatomoWidgets\\Widgets\\Provider\\GenericTableDataProvider\:\:getRows\(\) should return list\<array\<string, mixed\>\> but returns array\.$#'
identifier: return.type
count: 1
path: Classes/Widgets/Provider/GenericTableDataProvider.php
-
message: '#^Parameter \#1 \$period of method Brotkrueml\\MatomoWidgets\\Parameter\\PeriodResolverInterface\:\:resolve\(\) expects string, Brotkrueml\\MatomoWidgets\\Parameter\\LanguageParameterResolver\|string given\.$#'
identifier: argument.type
count: 1
path: Classes/Widgets/Provider/GenericTableDataProvider.php
-
message: '#^Parameter \#2 \$date of method Brotkrueml\\MatomoWidgets\\Parameter\\PeriodResolverInterface\:\:resolve\(\) expects string, Brotkrueml\\MatomoWidgets\\Parameter\\LanguageParameterResolver\|string given\.$#'
identifier: argument.type
count: 1
path: Classes/Widgets/Provider/GenericTableDataProvider.php