Skip to content

Commit deba1bb

Browse files
committed
1 parent f93bc47 commit deba1bb

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

Tests/Read/LexerTest.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ public static function jsonDataProvider(): iterable
9898
yield ['array_just_minus', '[-]', false];
9999
yield ['array_missing_value', '[ , ""]', false];
100100
yield ['array_newlines_unclosed', <<<JSON
101-
["a",
102-
4
103-
,1,
104-
JSON, false];
101+
["a",
102+
4
103+
,1,
104+
JSON, false];
105105
yield ['array_number_and_comma', '[1,]', false];
106106
yield ['array_number_and_several_commas', '[1,,]', false];
107107
yield ['array_spaces_vertical_tab_formfeed', '["
@@ -110,10 +110,10 @@ public static function jsonDataProvider(): iterable
110110
yield ['array_unclosed', '[""', false];
111111
yield ['array_unclosed_trailing_comma', '[1,', false];
112112
yield ['array_unclosed_with_new_lines', <<<JSON
113-
[1,
114-
1
115-
,1
116-
JSON, false];
113+
[1,
114+
1
115+
,1
116+
JSON, false];
117117
yield ['array_unclosed_with_object_inside', '[{}', false];
118118
yield ['incomplete_false', '[fals]', false];
119119
yield ['incomplete_null', '[nul]', false];
@@ -224,9 +224,9 @@ public static function jsonDataProvider(): iterable
224224
yield ['string_single_string_no_double_quotes', 'abc', false];
225225
yield ['string_start_escape_unclosed', '["\\', false];
226226
yield ['string_unescaped_newline', <<<JSON
227-
["new
228-
line"]
229-
JSON, false];
227+
["new
228+
line"]
229+
JSON, false];
230230
yield ['string_unescaped_tab', '[" "]', false];
231231
yield ['string_unicode_CapitalU', '"\\UA66D"', false];
232232
yield ['string_with_trailing_garbage', '""x', false];
@@ -284,9 +284,9 @@ public static function jsonDataProvider(): iterable
284284
yield ['array_heterogeneous', '[null, 1, "1", {}]', true];
285285
yield ['array_null', '[null]', true];
286286
yield ['array_with_1_and_newline', <<<JSON
287-
[1
288-
]
289-
JSON, true];
287+
[1
288+
]
289+
JSON, true];
290290
yield ['array_with_leading_space', '[1]', true];
291291
yield ['array_with_several_null', '[1,null,null,null,2]', true];
292292
yield ['array_with_trailing_space', '[2] ', true];
@@ -318,10 +318,10 @@ public static function jsonDataProvider(): iterable
318318
yield ['object_simple', '{"a":[]}', true];
319319
yield ['object_string_unicode', '{"title":"\\u041f\\u043e\\u043b\\u0442\\u043e\\u0440\\u0430 \\u0417\\u0435\\u043c\\u043b\\u0435\\u043a\\u043e\\u043f\\u0430" }', true];
320320
yield ['object_with_newlines', <<<JSON
321-
{
322-
"a": "b"
323-
}
324-
JSON, true];
321+
{
322+
"a": "b"
323+
}
324+
JSON, true];
325325
yield ['string_1_2_3_bytes_UTF-8_sequences', '["\\u0060\\u012a\\u12AB"]', true];
326326
yield ['string_accepted_surrogate_pair', '["\\uD801\\udc37"]', true];
327327
yield ['string_accepted_surrogate_pairs', '["\\ud83d\\ude39\\ud83d\\udc8d"]', true];
@@ -373,9 +373,9 @@ public static function jsonDataProvider(): iterable
373373
yield ['structure_lonely_true', 'true', true];
374374
yield ['structure_string_empty', '""', true];
375375
yield ['structure_trailing_newline', <<<JSON
376-
["a"]
376+
["a"]
377377
378-
JSON, true];
378+
JSON, true];
379379
yield ['structure_true_in_array', '[true]', true];
380380
yield ['structure_whitespace_array', '[] ', true];
381381

0 commit comments

Comments
 (0)