-
-
Notifications
You must be signed in to change notification settings - Fork 170
/
phpstan-baseline.neon
137 lines (110 loc) · 6.16 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
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
parameters:
ignoreErrors:
-
message: "#^Method Pagerfanta\\\\Doctrine\\\\Collections\\\\CollectionAdapter\\:\\:getNbResults\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 1
path: lib/Adapter/Doctrine/Collections/CollectionAdapter.php
-
message: "#^Method Pagerfanta\\\\Doctrine\\\\Collections\\\\SelectableAdapter\\:\\:getNbResults\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 1
path: lib/Adapter/Doctrine/Collections/SelectableAdapter.php
-
message: "#^Parameter \\#1 \\$array of function array_values expects array, iterable\\<\\(int\\|string\\), int\\> given\\.$#"
count: 1
path: lib/Adapter/Doctrine/Collections/Tests/CollectionAdapterTest.php
-
message: "#^Method Pagerfanta\\\\Doctrine\\\\DBAL\\\\QueryAdapter\\:\\:getNbResults\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 1
path: lib/Adapter/Doctrine/DBAL/QueryAdapter.php
-
message: "#^Method Pagerfanta\\\\Doctrine\\\\DBAL\\\\QueryAdapter\\:\\:getSlice\\(\\) should return iterable\\<\\(int\\|string\\), T\\> but returns array\\<int, array\\<string, mixed\\>\\>\\.$#"
count: 1
path: lib/Adapter/Doctrine/DBAL/QueryAdapter.php
-
message: "#^Call to an undefined method Doctrine\\\\DBAL\\\\Query\\\\QueryBuilder\\:\\:resetQueryPart\\(\\)\\.$#"
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\\.$#"
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\\.$#"
count: 1
path: lib/Adapter/Doctrine/MongoDBODM/QueryAdapter.php
-
message: "#^PHPDoc tag @var for variable \\$aggregation contains unresolvable type\\.$#"
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/AggregationAdapterTest.php
-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:createMock\\(\\) contains unresolvable type\\.$#"
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/AggregationAdapterTest.php
-
message: "#^PHPDoc tag @var for variable \\$query contains unresolvable type\\.$#"
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/QueryAdapterTest.php
-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:createMock\\(\\) contains unresolvable type\\.$#"
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/QueryAdapterTest.php
-
message: "#^Cannot access offset 0 on Traversable\\<\\(int\\|string\\), mixed\\>\\.$#"
count: 3
path: lib/Adapter/Doctrine/ORM/Tests/QueryAdapterTest.php
-
message: "#^Call to an undefined method Doctrine\\\\Common\\\\Collections\\\\Collection\\|PHPCR\\\\Query\\\\QueryResultInterface\\:\\:getRows\\(\\)\\.$#"
count: 1
path: lib/Adapter/Doctrine/PHPCRODM/QueryAdapter.php
-
message: "#^Call to an undefined method Iterator\\<mixed, PHPCR\\\\Query\\\\RowInterface\\>\\:\\:count\\(\\)\\.$#"
count: 1
path: lib/Adapter/Doctrine/PHPCRODM/QueryAdapter.php
-
message: "#^Method Pagerfanta\\\\Elastica\\\\ElasticaAdapter\\:\\:getNbResults\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 2
path: lib/Adapter/Elastica/ElasticaAdapter.php
-
message: "#^Method Pagerfanta\\\\Elastica\\\\ElasticaAdapter\\:\\:getSlice\\(\\) should return iterable\\<\\(int\\|string\\), T\\> but returns Elastica\\\\ResultSet\\.$#"
count: 1
path: lib/Adapter/Elastica/ElasticaAdapter.php
-
message: "#^Method Pagerfanta\\\\Solarium\\\\SolariumAdapter\\:\\:getNbResults\\(\\) should return int\\<0, max\\> but returns int\\|null\\.$#"
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\\.$#"
count: 1
path: lib/Core/Adapter/ConcatenationAdapter.php
-
message: "#^Method Pagerfanta\\\\Pagerfanta\\:\\:calculateNbPages\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 1
path: lib/Core/Pagerfanta.php
-
message: "#^Method Pagerfanta\\\\Pagerfanta\\:\\:getPageNumberForItemAtPosition\\(\\) should return int\\<1, max\\> but returns int\\.$#"
count: 1
path: lib/Core/Pagerfanta.php
-
message: "#^Property Pagerfanta\\\\Tests\\\\Adapter\\\\ArrayAdapterTest\\:\\:\\$adapter \\(Pagerfanta\\\\Adapter\\\\ArrayAdapter\\<int\\<1, 100\\>\\>\\) does not accept Pagerfanta\\\\Adapter\\\\ArrayAdapter\\<int\\>\\.$#"
count: 1
path: lib/Core/Tests/Adapter/ArrayAdapterTest.php
-
message: "#^Property Pagerfanta\\\\Tests\\\\Adapter\\\\TransformingAdapterTest\\:\\:\\$adapter \\(Pagerfanta\\\\Adapter\\\\TransformingAdapter\\<int\\<1, 100\\>, string\\>\\) does not accept Pagerfanta\\\\Adapter\\\\TransformingAdapter\\<int, string\\>\\.$#"
count: 2
path: lib/Core/Tests/Adapter/TransformingAdapterTest.php
-
message: "#^Method Pagerfanta\\\\View\\\\View\\:\\:calculateEndPageForStartPageUnderflow\\(\\) should return int\\<1, max\\> but returns int\\.$#"
count: 1
path: lib/Core/View/View.php
-
message: "#^Method Pagerfanta\\\\Twig\\\\Tests\\\\Extension\\\\PagerfantaRuntimeTest\\:\\:createPagerfanta\\(\\) should return Pagerfanta\\\\Pagerfanta\\<int\\<1, 100\\>\\> but returns Pagerfanta\\\\Pagerfanta\\<int\\>\\.$#"
count: 1
path: lib/Twig/Tests/Extension/PagerfantaRuntimeTest.php
-
message: "#^Method Pagerfanta\\\\Twig\\\\Tests\\\\View\\\\TwigViewIntegrationTest\\:\\:createPagerfanta\\(\\) should return Pagerfanta\\\\Pagerfanta\\<int\\<1, 100\\>\\> but returns Pagerfanta\\\\Pagerfanta\\<int\\>\\.$#"
count: 1
path: lib/Twig/Tests/View/TwigViewIntegrationTest.php
-
message: "#^Method Pagerfanta\\\\Twig\\\\Tests\\\\View\\\\TwigViewTest\\:\\:createPagerfanta\\(\\) should return Pagerfanta\\\\Pagerfanta\\<int\\<1, 100\\>\\> but returns Pagerfanta\\\\Pagerfanta\\<int\\>\\.$#"
count: 1
path: lib/Twig/Tests/View/TwigViewTest.php