-
-
Notifications
You must be signed in to change notification settings - Fork 169
/
phpstan-baseline.neon
110 lines (92 loc) · 4.22 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
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
parameters:
ignoreErrors:
-
message: '#^Method Pagerfanta\\Doctrine\\DBAL\\QueryAdapter\:\:getNbResults\(\) should return int\<0, max\> but returns int\.$#'
identifier: return.type
count: 1
path: lib/Adapter/Doctrine/DBAL/QueryAdapter.php
-
message: '#^Method Pagerfanta\\Doctrine\\DBAL\\QueryAdapter\:\:getSlice\(\) should return iterable\<\(int\|string\), T\> but returns list\<array\<string, mixed\>\>\.$#'
identifier: return.type
count: 1
path: lib/Adapter/Doctrine/DBAL/QueryAdapter.php
-
message: '#^Call to an undefined method Doctrine\\DBAL\\Query\\QueryBuilder\:\:resetQueryPart\(\)\.$#'
identifier: method.notFound
count: 1
path: lib/Adapter/Doctrine/DBAL/SingleTableQueryAdapter.php
-
message: '#^Method Pagerfanta\\Doctrine\\MongoDBODM\\QueryAdapter\:\:getNbResults\(\) should return int\<0, max\> but returns array\<string, mixed\>\|int\|object\|null\.$#'
identifier: return.type
count: 1
path: lib/Adapter/Doctrine/MongoDBODM/QueryAdapter.php
-
message: '#^Method Pagerfanta\\Doctrine\\MongoDBODM\\QueryAdapter\:\:getSlice\(\) should return iterable\<\(int\|string\), T\> but returns array\<string, mixed\>\|int\|object\|null\.$#'
identifier: return.type
count: 1
path: lib/Adapter/Doctrine/MongoDBODM/QueryAdapter.php
-
message: '#^PHPDoc tag @var for variable \$aggregation contains unresolvable type\.$#'
identifier: varTag.unresolvableType
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/AggregationAdapterTest.php
-
message: '#^Return type of call to method PHPUnit\\Framework\\TestCase\:\:createMock\(\) contains unresolvable type\.$#'
identifier: method.unresolvableReturnType
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/AggregationAdapterTest.php
-
message: '#^PHPDoc tag @var for variable \$query contains unresolvable type\.$#'
identifier: varTag.unresolvableType
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/QueryAdapterTest.php
-
message: '#^Return type of call to method PHPUnit\\Framework\\TestCase\:\:createMock\(\) contains unresolvable type\.$#'
identifier: method.unresolvableReturnType
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/QueryAdapterTest.php
-
message: '#^Cannot access offset 0 on Traversable\<\(int\|string\), mixed\>\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: lib/Adapter/Doctrine/ORM/Tests/QueryAdapterTest.php
-
message: '#^Call to an undefined method Doctrine\\Common\\Collections\\Collection\|PHPCR\\Query\\QueryResultInterface\:\:getRows\(\)\.$#'
identifier: method.notFound
count: 1
path: lib/Adapter/Doctrine/PHPCRODM/QueryAdapter.php
-
message: '#^Method Pagerfanta\\Elastica\\ElasticaAdapter\:\:getNbResults\(\) should return int\<0, max\> but returns int\.$#'
identifier: return.type
count: 2
path: lib/Adapter/Elastica/ElasticaAdapter.php
-
message: '#^Method Pagerfanta\\Solarium\\SolariumAdapter\:\:getNbResults\(\) should return int\<0, max\> but returns int\|null\.$#'
identifier: return.type
count: 1
path: lib/Adapter/Solarium/SolariumAdapter.php
-
message: '#^Parameter \#2 \$length of method Pagerfanta\\Adapter\\AdapterInterface\<T\>\:\:getSlice\(\) expects int\<0, max\>, int given\.$#'
identifier: argument.type
count: 1
path: lib/Core/Adapter/ConcatenationAdapter.php
-
message: '#^Property Pagerfanta\\Adapter\\ConcatenationAdapter\<T\>\:\:\$adaptersNbResultsCache \(list\<int\<0, max\>\>\|null\) does not accept non\-empty\-array\<int\<0, max\>, int\<0, max\>\>\.$#'
identifier: assign.propertyType
count: 1
path: lib/Core/Adapter/ConcatenationAdapter.php
-
message: '#^Method Pagerfanta\\Pagerfanta\:\:calculateNbPages\(\) should return int\<0, max\> but returns int\.$#'
identifier: return.type
count: 1
path: lib/Core/Pagerfanta.php
-
message: '#^Method Pagerfanta\\Pagerfanta\:\:getPageNumberForItemAtPosition\(\) should return int\<1, max\> but returns int\.$#'
identifier: return.type
count: 1
path: lib/Core/Pagerfanta.php
-
message: '#^Method Pagerfanta\\View\\View\:\:calculateEndPageForStartPageUnderflow\(\) should return int\<1, max\> but returns int\.$#'
identifier: return.type
count: 1
path: lib/Core/View/View.php