Repository navigation
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
86 lines (75 loc) · 3.25 KB
/
Copy pathphpstan.dist.neon
File metadata and controls
86 lines (75 loc) · 3.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
parameters:
phpVersion: 80200
level: 1
paths:
- Inquisition
editorUrl: '%%relfile%%:%%line%%'
editorUrlTitle: '%%relfile%%:%%line%%'
errorFormat: table
# Checks from higher levels that we want to include here
# Level 2
checkClassCaseSensitivity: true
checkPhpDocMissingReturn: true
# checkThisOnly: false
# Level 3
checkPhpDocMethodSignatures: true
# Level 5
checkFunctionArgumentTypes: true
# @todo these should eventually be fixed
# (although most are issues with the Admin or Swat packages)
ignoreErrors:
-
message: '#^Parameter \#4 \$parent_field of static method AdminListDependency\:\:queryEntries\(\) expects string, null given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Inquisition/Delete.php
-
message: '#^Parameter \#1 \$base_object of class SwatDetailsStore constructor expects stdClass\|null, InquisitionInquisition given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Inquisition/Details.php
-
message: '#^Parameter \#1 \$base_object of class SwatDetailsStore constructor expects stdClass\|null, InquisitionQuestion given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Inquisition/Details.php
-
message: '#^Parameter \#4 \$parent_field of static method AdminListDependency\:\:queryEntries\(\) expects string, null given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Option/Delete.php
-
message: '#^Parameter \#1 \$base_object of class SwatDetailsStore constructor expects stdClass\|null, InquisitionQuestionOption given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Option/Details.php
-
message: '#^Parameter \#1 \$base_object of class SwatDetailsStore constructor expects stdClass\|null, SiteImage given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Option/Details.php
-
message: '#^Parameter \#4 \$parent_field of static method AdminListDependency\:\:queryEntries\(\) expects string, null given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Question/Delete.php
-
message: '#^Parameter \#1 \$base_object of class SwatDetailsStore constructor expects stdClass\|null, InquisitionQuestion given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Question/Details.php
-
message: '#^Parameter \#1 \$base_object of class SwatDetailsStore constructor expects stdClass\|null, InquisitionQuestionOption given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Question/Details.php
-
message: '#^Parameter \#1 \$base_object of class SwatDetailsStore constructor expects stdClass\|null, SiteImage given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Question/Details.php
-
message: '#^Parameter \#4 \$parent_field of static method AdminListDependency\:\:queryEntries\(\) expects string, null given\.$#'
identifier: argument.type
count: 1
path: Inquisition/admin/components/Question/HintDelete.php