Skip to content

Commit e1157df

Browse files
committed
Tests/AttributesTest: normalize data provider arrays
... to improve scannability of the test cases covered. See 225
1 parent 3af8785 commit e1157df

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/Core/Tokenizer/AttributesTest.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ public static function dataAttribute()
7272
[
7373
'/* testAttribute */',
7474
2,
75-
[ T_STRING ],
75+
[
76+
T_STRING,
77+
],
7678
],
7779
[
7880
'/* testAttributeWithParams */',
@@ -104,7 +106,9 @@ public static function dataAttribute()
104106
[
105107
'/* testAttributeOnFunction */',
106108
2,
107-
[ T_STRING ],
109+
[
110+
T_STRING,
111+
],
108112
],
109113
[
110114
'/* testAttributeOnFunctionWithParams */',
@@ -352,7 +356,9 @@ public static function dataAttributeOnParameters()
352356
'/* testSingleAttributeOnParameter */',
353357
4,
354358
2,
355-
[T_STRING],
359+
[
360+
T_STRING,
361+
],
356362
],
357363
[
358364
'/* testMultipleAttributesOnParameter */',

0 commit comments

Comments
 (0)