-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
43 lines (37 loc) · 1.8 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
parameters:
ignoreErrors:
-
message: '#^Cannot access property \$page_id on array\|bool\|stdClass\.$#'
identifier: property.nonObject
count: 1
path: src/Adapters/DatabasePersistentPageIdentifiersRepo.php
-
message: '#^Cannot access property \$persistent_id on array\|bool\|stdClass\.$#'
identifier: property.nonObject
count: 1
path: src/Adapters/DatabasePersistentPageIdentifiersRepo.php
-
message: '#^Cannot call method getArticleID\(\) on Title\|null\.$#'
identifier: method.nonObject
count: 1
path: src/EntryPoints/PersistentPageIdFunction.php
-
message: '#^Method ProfessionalWiki\\PersistentPageIdentifiers\\EntryPoints\\PersistentPageIdentifiersHooks\:\:onInfoAction\(\) has parameter \$pageInfo with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/EntryPoints/PersistentPageIdentifiersHooks.php
-
message: '#^Method ProfessionalWiki\\PersistentPageIdentifiers\\EntryPoints\\PersistentPageIdentifiersHooks\:\:onParserTestGlobals\(\) has parameter \$globals with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/EntryPoints/PersistentPageIdentifiersHooks.php
-
message: '#^Method ProfessionalWiki\\PersistentPageIdentifiers\\PersistentPageIdentifiersExtension\:\:getDatabase\(\) should return Wikimedia\\Rdbms\\IDatabase but returns Wikimedia\\Rdbms\\IDatabase\|false\.$#'
identifier: return.type
count: 1
path: src/PersistentPageIdentifiersExtension.php
-
message: '#^Parameter \#1 \$format of class ProfessionalWiki\\PersistentPageIdentifiers\\Presentation\\PersistentPageIdFormatter constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/PersistentPageIdentifiersExtension.php