@@ -39,75 +39,75 @@ public static function defaultFormatDataProvider(): array
39
39
[
40
40
'fileSize ' => 'invalid ' ,
41
41
[],
42
- 'expected ' => '0 B '
42
+ 'expected ' => '0 B ' ,
43
43
],
44
44
[
45
45
'fileSize ' => '' ,
46
46
[],
47
- 'expected ' => '0 B '
47
+ 'expected ' => '0 B ' ,
48
48
],
49
49
[
50
50
'fileSize ' => [],
51
51
[],
52
- 'expected ' => '0 B '
52
+ 'expected ' => '0 B ' ,
53
53
],
54
54
[
55
55
'fileSize ' => 123 ,
56
56
[],
57
- 'expected ' => '123 B '
57
+ 'expected ' => '123 B ' ,
58
58
],
59
59
[
60
60
'fileSize ' => '43008 ' ,
61
61
[
62
- 'decimals ' => 1
62
+ 'decimals ' => 1 ,
63
63
],
64
- 'expected ' => '42.0 KB '
64
+ 'expected ' => '42.0 KB ' ,
65
65
],
66
66
[
67
67
'fileSize ' => '1024 ' ,
68
68
[
69
- 'decimals ' => 1
69
+ 'decimals ' => 1 ,
70
70
],
71
- 'expected ' => '1.0 KB '
71
+ 'expected ' => '1.0 KB ' ,
72
72
],
73
73
[
74
74
'fileSize ' => '1022 ' ,
75
75
[
76
- 'decimals ' => 2
76
+ 'decimals ' => 2 ,
77
77
],
78
- 'expected ' => '1022.00 B '
78
+ 'expected ' => '1022.00 B ' ,
79
79
],
80
80
[
81
81
'fileSize ' => '1022 ' ,
82
82
[
83
83
'decimals ' => 2 ,
84
- 'thousandsSeparator ' => ', '
84
+ 'thousandsSeparator ' => ', ' ,
85
85
],
86
- 'expected ' => '1,022.00 B '
86
+ 'expected ' => '1,022.00 B ' ,
87
87
],
88
88
[
89
89
'fileSize ' => 1073741823 ,
90
90
[
91
91
'decimals ' => 1 ,
92
92
'decimalSeparator ' => ', ' ,
93
- 'thousandsSeparator ' => '. '
93
+ 'thousandsSeparator ' => '. ' ,
94
94
],
95
- 'expected ' => '1.024,0 MB '
95
+ 'expected ' => '1.024,0 MB ' ,
96
96
],
97
97
[
98
98
'fileSize ' => pow (1024 , 5 ),
99
99
[
100
- 'decimals ' => 1
100
+ 'decimals ' => 1 ,
101
101
],
102
- 'expected ' => '1.0 PB '
102
+ 'expected ' => '1.0 PB ' ,
103
103
],
104
104
[
105
105
'fileSize ' => pow (1024 , 8 ),
106
106
[
107
- 'decimals ' => 1
107
+ 'decimals ' => 1 ,
108
108
],
109
- 'expected ' => '1.0 YB '
110
- ]
109
+ 'expected ' => '1.0 YB ' ,
110
+ ],
111
111
];
112
112
}
113
113
}
0 commit comments