-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathphpstan-baseline.neon
136 lines (110 loc) · 3.59 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: "#^Foreach overwrites \\$i with its key variable\\.$#"
count: 1
path: examples/read.php
-
message: "#^Cannot cast mixed to int\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Casting to int something that's already int\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Only booleans are allowed in a negated boolean, resource\\|false given\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Only numeric types are allowed in \\+, int\\|null given on the left side\\.$#"
count: 2
path: src/ShapeFile.php
-
message: "#^Only numeric types are allowed in \\+, int\\|null given on the right side\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Parameter \\#1 \\$stream of function feof expects resource, resource\\|false given\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Parameter \\#1 \\$string of function strtoupper expects string, mixed given\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#"
count: 6
path: src/ShapeFile.php
-
message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\ShapeFile\\\\Util\\:\\:packDouble\\(\\) expects float, mixed given\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Parameter \\#2 \\$length of function fread expects int\\<1, max\\>, int\\<0, max\\> given\\.$#"
count: 1
path: src/ShapeFile.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 4
path: src/ShapeRecord.php
-
message: "#^Cannot access an offset on mixed\\.$#"
count: 4
path: src/ShapeRecord.php
-
message: "#^Cannot access offset 'points' on mixed\\.$#"
count: 15
path: src/ShapeRecord.php
-
message: "#^Cannot access offset int on mixed\\.$#"
count: 12
path: src/ShapeRecord.php
-
message: "#^Cannot access offset int\\<\\-1, max\\> on mixed\\.$#"
count: 2
path: src/ShapeRecord.php
-
message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
count: 12
path: src/ShapeRecord.php
-
message: "#^Cannot access offset int\\<1, max\\> on mixed\\.$#"
count: 2
path: src/ShapeRecord.php
-
message: "#^Cannot access offset string on mixed\\.$#"
count: 4
path: src/ShapeRecord.php
-
message: "#^Cannot call method hasMeasure\\(\\) on PhpMyAdmin\\\\ShapeFile\\\\ShapeFile\\|null\\.$#"
count: 2
path: src/ShapeRecord.php
-
message: "#^Cannot call method readSHP\\(\\) on PhpMyAdmin\\\\ShapeFile\\\\ShapeFile\\|null\\.$#"
count: 1
path: src/ShapeRecord.php
-
message: "#^Cannot cast mixed to int\\.$#"
count: 2
path: src/ShapeRecord.php
-
message: "#^Parameter \\#1 \\$data of method PhpMyAdmin\\\\ShapeFile\\\\ShapeRecord\\:\\:savePoint\\(\\) expects array, mixed given\\.$#"
count: 2
path: src/ShapeRecord.php
-
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
count: 16
path: src/ShapeRecord.php
-
message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\ShapeFile\\\\Util\\:\\:packDouble\\(\\) expects float, mixed given\\.$#"
count: 11
path: src/ShapeRecord.php
-
message: "#^Property PhpMyAdmin\\\\ShapeFile\\\\ShapeRecord\\:\\:\\$size \\(int\\) does not accept \\(float\\|int\\)\\.$#"
count: 1
path: src/ShapeRecord.php
-
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
count: 1
path: tests/ShapeFileTest.php