Repository navigation
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
85 lines (72 loc) · 5.46 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
85 lines (72 loc) · 5.46 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
parameters:
ignoreErrors:
-
message: '#^Method Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\DynamicValues\:\:normalizeProvider\(\) should return \(non\-empty\-list\<string\>&callable\(\)\: mixed\)\|Closure\|string but returns non\-empty\-list\<object\|string\>&callable\(\)\: mixed\.$#'
identifier: return.type
count: 1
path: src/Attribute/RouteParamValue/DynamicValues.php
-
message: '#^Call to function is_a\(\) with arguments class\-string\<BackedEnum\>, ''BackedEnum'' and true will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Attribute/RouteParamValue/EnumValues.php
-
message: '#^Parameter \#1 \$configuration of class Sofascore\\PurgatoryBundle\\Cache\\Configuration\\Configuration constructor expects array\<non\-empty\-string, list\<array\{routeName\: string, routeParams\?\: array\<string, array\{type\: string, values\: list\<mixed\>, optional\?\: true\}\>, if\?\: array\<mixed\>\|string, inversePropertyPath\?\: string, actions\?\: non\-empty\-list\<Sofascore\\PurgatoryBundle\\Listener\\Enum\\Action\>, context\?\: non\-empty\-array\<mixed\>\}\>\>, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Cache/Configuration/CachedConfigurationLoader.php
-
message: '#^Method Sofascore\\PurgatoryBundle\\Cache\\Configuration\\Subscriptions\:\:getIterator\(\) should return Traversable\<int, array\{routeName\: string, routeParams\?\: array\<string, array\{type\: string, values\: list\<mixed\>, optional\?\: true\}\>, if\?\: array\<mixed\>\|string, inversePropertyPath\?\: string, actions\?\: non\-empty\-list\<Sofascore\\PurgatoryBundle\\Listener\\Enum\\Action\>, context\?\: non\-empty\-array\<mixed\>\}\> but returns ArrayIterator\<int, array\{routeName\: string, routeParams\?\: array\<string, array\{type\: string, values\: list\<mixed\>, optional\?\: bool\}\>, if\?\: array\<mixed\>\|string, inversePropertyPath\?\: string, actions\?\: non\-empty\-list\<Sofascore\\PurgatoryBundle\\Listener\\Enum\\Action\>, context\?\: non\-empty\-array\<mixed\>\}\>\.$#'
identifier: return.type
count: 1
path: src/Cache/Configuration/Subscriptions.php
-
message: '#^PHPDoc tag @var with type array\<string, int\|string\|null\>\|Doctrine\\ORM\\Mapping\\AssociationMapping is not subtype of native type Doctrine\\ORM\\Mapping\\AssociationMapping\.$#'
identifier: varTag.nativeType
count: 1
path: src/Cache/PropertyResolver/AssociationResolver.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue\)\: mixed\)\|null, Closure\(non\-empty\-list\<string\>\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue\)\: \(non\-empty\-list\<string\>\|Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\ValuesInterface\|string\) given\.$#'
identifier: argument.type
count: 1
path: src/Cache/RouteMetadata/YamlMetadataProvider.php
-
message: '#^Parameter \#1 \$enum of class Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\EnumValues constructor expects class\-string\<BackedEnum\>, bool\|float\|int\|list\<bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue\>\|string given\.$#'
identifier: argument.type
count: 1
path: src/Cache/RouteMetadata/YamlMetadataProvider.php
-
message: '#^Parameter \#1 \$expression of class Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\ExpressionValues constructor expects string\|Symfony\\Component\\ExpressionLanguage\\Expression, bool\|float\|int\|list\<bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue\>\|string given\.$#'
identifier: argument.type
count: 1
path: src/Cache/RouteMetadata/YamlMetadataProvider.php
-
message: '#^Parameter \#1 \$property of class Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\PropertyValues constructor expects string, bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue given\.$#'
identifier: argument.type
count: 1
path: src/Cache/RouteMetadata/YamlMetadataProvider.php
-
message: '#^Parameter \#1 \$provider of class Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\DynamicValues constructor expects \(non\-empty\-list\<string\>&callable\(\)\: mixed\)\|Closure\|string, bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue given\.$#'
identifier: argument.type
count: 1
path: src/Cache/RouteMetadata/YamlMetadataProvider.php
-
message: '#^Parameter \#1 \$value of class Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\RawValues constructor expects bool\|float\|int\|string\|null, bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue given\.$#'
identifier: argument.type
count: 1
path: src/Cache/RouteMetadata/YamlMetadataProvider.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, bool\|float\|int\|list\<bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue\>\|string given\.$#'
identifier: argument.type
count: 1
path: src/Cache/RouteMetadata/YamlMetadataProvider.php
-
message: '#^Strict comparison using \=\=\= between array\{\} and non\-empty\-list\<array\<mixed\>\>\|null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/Purger/PurgeRequest.php
-
message: '#^Trait Sofascore\\PurgatoryBundle\\Test\\InteractsWithPurgatory is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Test/InteractsWithPurgatory.php