-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
153 lines (124 loc) · 5.25 KB
/
phpstan-baseline.neon
File metadata and controls
153 lines (124 loc) · 5.25 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
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
153
parameters:
ignoreErrors:
# SMW classes (optional dependency)
-
message: "#^Call to static method getInstance\\(\\) on an unknown class SMW\\\\Services\\\\ServicesFactory\\.$#"
count: 1
path: src/MapsFactory.php
-
message: "#^Method Maps\\\\MapsFactory\\:\\:getSmwFactory\\(\\) has invalid return type SMW\\\\Services\\\\ServicesFactory\\.$#"
count: 1
path: src/MapsFactory.php
-
message: "#^Access to constant PRINT_THIS on an unknown class SMW\\\\Query\\\\PrintRequest\\.$#"
count: 1
path: src/MapsHooks.php
-
message: "#^Call to static method newFromExternalLink\\(\\) on an unknown class AlItem\\.$#"
count: 1
path: src/MapsHooks.php
-
message: "#^Parameter \\$admin_links_tree of method Maps\\\\MapsHooks\\:\\:addToAdminLinks\\(\\) has invalid type ALTree\\.$#"
count: 1
path: src/MapsHooks.php
# MediaWiki classes that moved to namespaces (backward compat aliases not resolved by PHPStan)
-
message: "#^Property Maps\\\\DataAccess\\\\CachingGeocoder\\:\\:\\$cache has unknown class BagOStuff as its type\\.$#"
count: 1
path: src/DataAccess/CachingGeocoder.php
-
message: "#^Parameter \\$cache of method Maps\\\\DataAccess\\\\CachingGeocoder\\:\\:__construct\\(\\) has invalid type BagOStuff\\.$#"
count: 1
path: src/DataAccess/CachingGeocoder.php
-
message: "#^Property Maps\\\\DataAccess\\\\GeoJsonFetcher\\:\\:\\$titleParser has unknown class TitleParser as its type\\.$#"
count: 1
path: src/DataAccess/GeoJsonFetcher.php
-
message: "#^Parameter \\$titleParser of method Maps\\\\DataAccess\\\\GeoJsonFetcher\\:\\:__construct\\(\\) has invalid type TitleParser\\.$#"
count: 1
path: src/DataAccess/GeoJsonFetcher.php
-
message: "#^Class JsonContent not found\\.$#"
count: 1
path: src/DataAccess/GeoJsonFetcher.php
-
message: "#^Caught class MalformedTitleException not found\\.$#"
count: 1
path: src/DataAccess/GeoJsonFetcher.php
-
message: "#^Property Maps\\\\DataAccess\\\\GeoJsonFetcherResult\\:\\:\\$source has unknown class TitleValue as its type\\.$#"
count: 1
path: src/DataAccess/GeoJsonFetcherResult.php
-
message: "#^Parameter \\$source of method Maps\\\\DataAccess\\\\GeoJsonFetcherResult\\:\\:__construct\\(\\) has invalid type TitleValue\\.$#"
count: 1
path: src/DataAccess/GeoJsonFetcherResult.php
-
message: "#^Method Maps\\\\DataAccess\\\\GeoJsonFetcherResult\\:\\:getTitleValue\\(\\) has invalid return type TitleValue\\.$#"
count: 1
path: src/DataAccess/GeoJsonFetcherResult.php
-
message: "#^Property Maps\\\\DataAccess\\\\PageContentFetcher\\:\\:\\$titleParser has unknown class TitleParser as its type\\.$#"
count: 1
path: src/DataAccess/PageContentFetcher.php
-
message: "#^Parameter \\$titleParser of method Maps\\\\DataAccess\\\\PageContentFetcher\\:\\:__construct\\(\\) has invalid type TitleParser\\.$#"
count: 1
path: src/DataAccess/PageContentFetcher.php
-
message: "#^Method Maps\\\\DataAccess\\\\PageContentFetcher\\:\\:getPageContent\\(\\) has invalid return type Content\\.$#"
count: 1
path: src/DataAccess/PageContentFetcher.php
-
message: "#^Caught class MalformedTitleException not found\\.$#"
count: 1
path: src/DataAccess/PageContentFetcher.php
-
message: "#^Call to static method encode\\(\\) on an unknown class FormatJson\\.$#"
count: 1
path: src/Map/MapHtmlBuilder.php
-
message: "#^Parameter \\$po of method Maps\\\\Map\\\\MapOutput\\:\\:addResourcesToParserOutput\\(\\) has invalid type ParserOutput\\.$#"
count: 1
path: src/Map/MapOutput.php
-
message: "#^Method Maps\\\\MapsFactory\\:\\:getMediaWikiCache\\(\\) has invalid return type BagOStuff\\.$#"
count: 1
path: src/MapsFactory.php
-
message: "#^Parameter \\$parserOutput of method Maps\\\\MapsFactory\\:\\:newSemanticGeoJsonStore\\(\\) has invalid type ParserOutput\\.$#"
count: 1
path: src/MapsFactory.php
-
message: "#^Parameter \\$frame of anonymous function has invalid type PPFrame\\.$#"
count: 2
path: src/ParserHookSetup.php
-
message: "#^Parameter \\$frame of method Maps\\\\ParserHookSetup\\:\\:handleFunctionHook\\(\\) has invalid type PPFrame\\.$#"
count: 1
path: src/ParserHookSetup.php
-
message: "#^Property Maps\\\\Presentation\\\\OutputFacade\\:\\:\\$outputPage has unknown class OutputPage as its type\\.$#"
count: 1
path: src/Presentation/OutputFacade.php
-
message: "#^Property Maps\\\\Presentation\\\\OutputFacade\\:\\:\\$parserOutput has unknown class ParserOutput as its type\\.$#"
count: 1
path: src/Presentation/OutputFacade.php
-
message: "#^Parameter \\$outputPage of method Maps\\\\Presentation\\\\OutputFacade\\:\\:newFromOutputPage\\(\\) has invalid type OutputPage\\.$#"
count: 1
path: src/Presentation/OutputFacade.php
-
message: "#^Parameter \\$parserOutput of method Maps\\\\Presentation\\\\OutputFacade\\:\\:newFromParserOutput\\(\\) has invalid type ParserOutput\\.$#"
count: 1
path: src/Presentation/OutputFacade.php
-
message: "#^Instantiated class ParserOptions not found\\.$#"
count: 1
path: src/Presentation/WikitextParser.php
-
message: "#^Call to static method newFromText\\(\\) on an unknown class Title\\.$#"
count: 1
path: src/WikitextParsers/LineParser.php