-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathphpstan-baseline.neon
175 lines (147 loc) · 6.08 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
parameters:
ignoreErrors:
-
message: '#^Instanceof between Interop\\Polite\\Math\\Matrix\\NDArray and Interop\\Polite\\Math\\Matrix\\NDArray will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Data/Dataset/NDArrayDataset.php
-
message: '#^Cannot call method dtype\(\) on iterable\<Interop\\Polite\\Math\\Matrix\\NDArray\>\.$#'
identifier: method.nonObject
count: 1
path: src/Data/Image/ImageFilter.php
-
message: '#^Cannot call method shape\(\) on iterable\<Interop\\Polite\\Math\\Matrix\\NDArray\>\.$#'
identifier: method.nonObject
count: 2
path: src/Data/Image/ImageFilter.php
-
message: '#^Call to function is_iterable\(\) with iterable\<int\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Data/Sequence/Preprocessor.php
-
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Data/Sequence/Tokenizer.php
-
message: '#^Call to function is_iterable\(\) with iterable\<int\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Data/Sequence/Tokenizer.php
-
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Gradient/Core/ArrayShape.php
-
message: '#^Instanceof between Rindow\\NeuralNetworks\\Gradient\\Variable and Rindow\\NeuralNetworks\\Gradient\\Variable will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Gradient/Core/GradientTape.php
-
message: '#^Strict comparison using \!\=\= between Rindow\\NeuralNetworks\\Gradient\\Variable and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Gradient/Core/GradientTape.php
-
message: '#^Instanceof between Rindow\\NeuralNetworks\\Gradient\\Variable and Rindow\\NeuralNetworks\\Gradient\\Variable will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Gradient/Core/GraphFunction.php
-
message: '#^Strict comparison using \!\=\= between Rindow\\NeuralNetworks\\Gradient\\Variable and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Gradient/Core/GraphFunction.php
-
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Gradient/Core/Modules.php
-
message: '#^Instanceof between Rindow\\NeuralNetworks\\Gradient\\Module and Rindow\\NeuralNetworks\\Gradient\\Module will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Gradient/Core/Modules.php
-
message: '#^Instanceof between Interop\\Polite\\Math\\Matrix\\NDArray and Interop\\Polite\\Math\\Matrix\\NDArray will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Gradient/Func/Get.php
-
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Gradient/Func/Split.php
-
message: '#^Instanceof between Interop\\Polite\\Math\\Matrix\\NDArray and Interop\\Polite\\Math\\Matrix\\NDArray will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Layer/AbstractAttentionLayer.php
-
message: '#^Instanceof between Interop\\Polite\\Math\\Matrix\\NDArray and Interop\\Polite\\Math\\Matrix\\NDArray will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Layer/AbstractLayer.php
-
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Layer/AbstractLayerBase.php
-
message: '#^Instanceof between Rindow\\NeuralNetworks\\Gradient\\Core\\Variable and Rindow\\NeuralNetworks\\Gradient\\Core\\Variable will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Layer/AbstractLayerBase.php
-
message: '#^Strict comparison using \!\=\= between array\<int\> and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Layer/AbstractLayerBase.php
-
message: '#^Instanceof between Interop\\Polite\\Math\\Matrix\\NDArray and Interop\\Polite\\Math\\Matrix\\NDArray will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Layer/AbstractMultiInputLayer.php
-
message: '#^Call to function is_array\(\) with array\<int\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Layer/Attention.php
-
message: '#^Call to function is_array\(\) with array\<int\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Layer/Concatenate.php
-
message: '#^Strict comparison using \!\=\= between int and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Layer/EinsumDense.php
-
message: '#^Call to function is_array\(\) with array\<int\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Layer/Gather.php
-
message: '#^Call to function is_array\(\) with array\<int\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Layer/MultiHeadAttention.php
-
message: '#^Comparison operation "\>\=" between 1 and 0 is always true\.$#'
identifier: greaterOrEqual.alwaysTrue
count: 1
path: src/Support/HDA/HDASqlite.php
-
message: '#^Loose comparison using \=\= between \(PDOStatement\|false\) and false will always evaluate to true\.$#'
identifier: equal.alwaysTrue
count: 1
path: src/Support/HDA/HDASqliteIterator.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: src/Support/HDA/HDASqliteIterator.php