13
13
class DeclarationBlockTest extends TestCase
14
14
{
15
15
/**
16
+ * @param string $sCss
17
+ * @param string $sExpected
18
+ *
16
19
* @dataProvider expandBorderShorthandProvider
17
20
*
18
21
* @test
19
- * * /
22
+ */
20
23
public function expandBorderShorthand ($ sCss , $ sExpected )
21
24
{
22
25
$ oParser = new Parser ($ sCss );
@@ -27,6 +30,9 @@ public function expandBorderShorthand($sCss, $sExpected)
27
30
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
28
31
}
29
32
33
+ /**
34
+ * @return array<int, array<int, string>>
35
+ */
30
36
public function expandBorderShorthandProvider ()
31
37
{
32
38
return [
@@ -40,10 +46,13 @@ public function expandBorderShorthandProvider()
40
46
}
41
47
42
48
/**
49
+ * @param string $sCss
50
+ * @param string $sExpected
51
+ *
43
52
* @dataProvider expandFontShorthandProvider
44
53
*
45
54
* @test
46
- * * /
55
+ */
47
56
public function expandFontShorthand ($ sCss , $ sExpected )
48
57
{
49
58
$ oParser = new Parser ($ sCss );
@@ -54,6 +63,9 @@ public function expandFontShorthand($sCss, $sExpected)
54
63
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
55
64
}
56
65
66
+ /**
67
+ * @return array<int, array<int, string>>
68
+ */
57
69
public function expandFontShorthandProvider ()
58
70
{
59
71
return [
@@ -90,10 +102,13 @@ public function expandFontShorthandProvider()
90
102
}
91
103
92
104
/**
105
+ * @param string $sCss
106
+ * @param string $sExpected
107
+ *
93
108
* @dataProvider expandBackgroundShorthandProvider
94
109
*
95
110
* @test
96
- * * /
111
+ */
97
112
public function expandBackgroundShorthand ($ sCss , $ sExpected )
98
113
{
99
114
$ oParser = new Parser ($ sCss );
@@ -104,6 +119,9 @@ public function expandBackgroundShorthand($sCss, $sExpected)
104
119
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
105
120
}
106
121
122
+ /**
123
+ * @return array<int, array<int, string>>
124
+ */
107
125
public function expandBackgroundShorthandProvider ()
108
126
{
109
127
return [
@@ -137,10 +155,13 @@ public function expandBackgroundShorthandProvider()
137
155
}
138
156
139
157
/**
158
+ * @param string $sCss
159
+ * @param string $sExpected
160
+ *
140
161
* @dataProvider expandDimensionsShorthandProvider
141
162
*
142
163
* @test
143
- * * /
164
+ */
144
165
public function expandDimensionsShorthand ($ sCss , $ sExpected )
145
166
{
146
167
$ oParser = new Parser ($ sCss );
@@ -151,6 +172,9 @@ public function expandDimensionsShorthand($sCss, $sExpected)
151
172
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
152
173
}
153
174
175
+ /**
176
+ * @return array<int, array<int, string>>
177
+ */
154
178
public function expandDimensionsShorthandProvider ()
155
179
{
156
180
return [
@@ -169,10 +193,13 @@ public function expandDimensionsShorthandProvider()
169
193
}
170
194
171
195
/**
196
+ * @param string $sCss
197
+ * @param string $sExpected
198
+ *
172
199
* @dataProvider createBorderShorthandProvider
173
200
*
174
201
* @test
175
- * * /
202
+ */
176
203
public function createBorderShorthand ($ sCss , $ sExpected )
177
204
{
178
205
$ oParser = new Parser ($ sCss );
@@ -183,6 +210,9 @@ public function createBorderShorthand($sCss, $sExpected)
183
210
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
184
211
}
185
212
213
+ /**
214
+ * @return array<int, array<int, string>>
215
+ */
186
216
public function createBorderShorthandProvider ()
187
217
{
188
218
return [
@@ -194,10 +224,13 @@ public function createBorderShorthandProvider()
194
224
}
195
225
196
226
/**
227
+ * @param string $sCss
228
+ * @param string $sExpected
229
+ *
197
230
* @dataProvider createFontShorthandProvider
198
231
*
199
232
* @test
200
- * * /
233
+ */
201
234
public function createFontShorthand ($ sCss , $ sExpected )
202
235
{
203
236
$ oParser = new Parser ($ sCss );
@@ -208,6 +241,9 @@ public function createFontShorthand($sCss, $sExpected)
208
241
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
209
242
}
210
243
244
+ /**
245
+ * @return array<int, array<int, string>>
246
+ */
211
247
public function createFontShorthandProvider ()
212
248
{
213
249
return [
@@ -231,10 +267,13 @@ public function createFontShorthandProvider()
231
267
}
232
268
233
269
/**
270
+ * @param string $sCss
271
+ * @param string $sExpected
272
+ *
234
273
* @dataProvider createDimensionsShorthandProvider
235
274
*
236
275
* @test
237
- * * /
276
+ */
238
277
public function createDimensionsShorthand ($ sCss , $ sExpected )
239
278
{
240
279
$ oParser = new Parser ($ sCss );
@@ -245,6 +284,9 @@ public function createDimensionsShorthand($sCss, $sExpected)
245
284
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
246
285
}
247
286
287
+ /**
288
+ * @return array<int, array<int, string>>
289
+ */
248
290
public function createDimensionsShorthandProvider ()
249
291
{
250
292
return [
@@ -263,10 +305,13 @@ public function createDimensionsShorthandProvider()
263
305
}
264
306
265
307
/**
308
+ * @param string $sCss
309
+ * @param string $sExpected
310
+ *
266
311
* @dataProvider createBackgroundShorthandProvider
267
312
*
268
313
* @test
269
- * * /
314
+ */
270
315
public function createBackgroundShorthand ($ sCss , $ sExpected )
271
316
{
272
317
$ oParser = new Parser ($ sCss );
@@ -277,6 +322,9 @@ public function createBackgroundShorthand($sCss, $sExpected)
277
322
self ::assertSame (trim ((string )$ oDoc ), $ sExpected );
278
323
}
279
324
325
+ /**
326
+ * @return array<int, array<int, string>>
327
+ */
280
328
public function createBackgroundShorthandProvider ()
281
329
{
282
330
return [
0 commit comments