1616final class OutputFormatTest extends TestCase
1717{
1818 private const TEST_CSS = "\n"
19- . ".main, .test { \n"
20- . "\tfont: italic normal bold 16px/1.2 \"Helvetica \", Verdana, sans-serif; \n"
21- . "\tbackground: white; \n"
22- . "} \n"
23- . "\n"
24- . "@media screen { \n"
25- . "\t.main { \n"
26- . "\t\tbackground-size: 100% 100%; \n"
27- . "\t\tfont-size: 1.3em; \n"
28- . "\t\tbackground-color: #fff; \n"
29- . "\t} \n"
30- . "} \n" ;
19+ . ".main, .test { \n"
20+ . "\tfont: italic normal bold 16px/1.2 \"Helvetica \", Verdana, sans-serif; \n"
21+ . "\tbackground: white; \n"
22+ . "} \n"
23+ . "\n"
24+ . "@media screen { \n"
25+ . "\t.main { \n"
26+ . "\t\tbackground-size: 100% 100%; \n"
27+ . "\t\tfont-size: 1.3em; \n"
28+ . "\t\tbackground-color: #fff; \n"
29+ . "\t} \n"
30+ . "} \n" ;
3131
3232 /**
3333 * @var Parser
@@ -181,15 +181,18 @@ public function spaceRules(): void
181181 ->setSpaceBetweenRules ("\n" )
182182 ->setSpaceAfterRules ("\n" );
183183
184- self ::assertSame ('.main, .test {
184+ self ::assertSame (
185+ '.main, .test {
185186 font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;
186187 background: white;
187188}
188189@media screen {.main {
189190 background-size: 100% 100%;
190191 font-size: 1.3em;
191192 background-color: #fff;
192- }} ' , $ this ->document ->render ($ outputFormat ));
193+ }} ' ,
194+ $ this ->document ->render ($ outputFormat )
195+ );
193196 }
194197
195198 /**
@@ -202,12 +205,15 @@ public function spaceBlocks(): void
202205 ->setSpaceBetweenBlocks ("\n" )
203206 ->setSpaceAfterBlocks ("\n" );
204207
205- self ::assertSame ('
208+ self ::assertSame (
209+ '
206210.main, .test {font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white;}
207211@media screen {
208212 .main {background-size: 100% 100%;font-size: 1.3em;background-color: #fff;}
209213}
210- ' , $ this ->document ->render ($ outputFormat ));
214+ ' ,
215+ $ this ->document ->render ($ outputFormat )
216+ );
211217 }
212218
213219 /**
@@ -223,7 +229,8 @@ public function spaceBoth(): void
223229 ->setSpaceBetweenBlocks ("\n" )
224230 ->setSpaceAfterBlocks ("\n" );
225231
226- self ::assertSame ('
232+ self ::assertSame (
233+ '
227234.main, .test {
228235 font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;
229236 background: white;
@@ -235,7 +242,9 @@ public function spaceBoth(): void
235242 background-color: #fff;
236243 }
237244}
238- ' , $ this ->document ->render ($ outputFormat ));
245+ ' ,
246+ $ this ->document ->render ($ outputFormat )
247+ );
239248 }
240249
241250 /**
@@ -267,7 +276,8 @@ public function indentation(): void
267276 ->setSpaceAfterBlocks ("\n" )
268277 ->setIndentation ('' );
269278
270- self ::assertSame ('
279+ self ::assertSame (
280+ '
271281.main, .test {
272282font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;
273283background: white;
@@ -279,7 +289,9 @@ public function indentation(): void
279289background-color: #fff;
280290}
281291}
282- ' , $ this ->document ->render ($ outputFormat ));
292+ ' ,
293+ $ this ->document ->render ($ outputFormat )
294+ );
283295 }
284296
285297 /**
0 commit comments