You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class)))
80
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime()))
81
81
);
82
82
}, \range(1, 100))
83
83
)
@@ -155,7 +155,7 @@ public function test_writing_and_reading_avro_with_all_supported_types() : void
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class))),
158
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime())),
159
159
struct_entry(
160
160
'address',
161
161
[
@@ -165,19 +165,19 @@ public function test_writing_and_reading_avro_with_all_supported_types() : void
165
165
'country' => 'country_' . $i,
166
166
'location' => ['lat' => 1.5, 'lon' => 1.5],
167
167
],
168
-
struct_type(
168
+
struct_type([
169
169
struct_element('street', type_string()),
170
170
struct_element('city', type_string()),
171
171
struct_element('zip', type_string()),
172
172
struct_element('country', type_string()),
173
173
struct_element(
174
174
'location',
175
-
struct_type(
175
+
struct_type([
176
176
struct_element('lat', type_float()),
177
177
struct_element('lon', type_float()),
178
-
)
179
-
)
180
-
),
178
+
])
179
+
),
180
+
]),
181
181
),
182
182
);
183
183
}, \range(1, 100))
@@ -219,7 +219,7 @@ public function test_writing_twice_to_the_same_location() : void
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class)))
222
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime()))
223
223
);
224
224
}, \range(1, 100))
225
225
)
@@ -240,7 +240,7 @@ public function test_writing_twice_to_the_same_location() : void
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class)))
243
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime()))
244
244
);
245
245
}, \range(1, 100))
246
246
)
@@ -277,7 +277,7 @@ public function test_writing_twice_to_the_same_location_with_ignore_mode() : voi
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class)))
280
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime()))
281
281
);
282
282
}, \range(1, 100))
283
283
)
@@ -298,7 +298,7 @@ public function test_writing_twice_to_the_same_location_with_ignore_mode() : voi
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class)))
301
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime()))
302
302
);
303
303
}, \range(1, 100))
304
304
)
@@ -336,7 +336,7 @@ public function test_writing_twice_to_the_same_location_with_overwrite_mode() :
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class)))
339
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime()))
340
340
);
341
341
}, \range(1, 100))
342
342
)
@@ -357,7 +357,7 @@ public function test_writing_twice_to_the_same_location_with_overwrite_mode() :
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_object(\DateTimeImmutable::class)))
360
+
list_entry('list_of_datetimes', [new \DateTimeImmutable(), new \DateTimeImmutable(), new \DateTimeImmutable()], type_list(type_datetime()))
0 commit comments