@@ -52,7 +52,7 @@ protected function setUp(): void
5252 /**
5353 * @test
5454 */
55- public function plain ()
55+ public function plain (): void
5656 {
5757 self ::assertSame (
5858 '.main, .test {font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white;}
@@ -64,7 +64,7 @@ public function plain()
6464 /**
6565 * @test
6666 */
67- public function compact ()
67+ public function compact (): void
6868 {
6969 self ::assertSame (
7070 '.main,.test{font:italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background:white;} '
@@ -76,15 +76,15 @@ public function compact()
7676 /**
7777 * @test
7878 */
79- public function pretty ()
79+ public function pretty (): void
8080 {
8181 self ::assertSame (self ::TEST_CSS , $ this ->oDocument ->render (OutputFormat::createPretty ()));
8282 }
8383
8484 /**
8585 * @test
8686 */
87- public function spaceAfterListArgumentSeparator ()
87+ public function spaceAfterListArgumentSeparator (): void
8888 {
8989 self ::assertSame (
9090 '.main, .test {font: italic normal bold 16px/ 1.2 '
@@ -97,7 +97,7 @@ public function spaceAfterListArgumentSeparator()
9797 /**
9898 * @test
9999 */
100- public function spaceAfterListArgumentSeparatorComplex ()
100+ public function spaceAfterListArgumentSeparatorComplex (): void
101101 {
102102 self ::assertSame (
103103 '.main, .test {font: italic normal bold 16px/1.2 "Helvetica", Verdana, sans-serif;background: white;} '
@@ -114,7 +114,7 @@ public function spaceAfterListArgumentSeparatorComplex()
114114 /**
115115 * @test
116116 */
117- public function spaceAfterSelectorSeparator ()
117+ public function spaceAfterSelectorSeparator (): void
118118 {
119119 self ::assertSame (
120120 '.main,
@@ -127,7 +127,7 @@ public function spaceAfterSelectorSeparator()
127127 /**
128128 * @test
129129 */
130- public function stringQuotingType ()
130+ public function stringQuotingType (): void
131131 {
132132 self ::assertSame (
133133 '.main, .test {font: italic normal bold 16px/1.2 \'Helvetica \',Verdana,sans-serif;background: white;}
@@ -139,7 +139,7 @@ public function stringQuotingType()
139139 /**
140140 * @test
141141 */
142- public function rGBHashNotation ()
142+ public function rGBHashNotation (): void
143143 {
144144 self ::assertSame (
145145 '.main, .test {font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white;}
@@ -151,7 +151,7 @@ public function rGBHashNotation()
151151 /**
152152 * @test
153153 */
154- public function semicolonAfterLastRule ()
154+ public function semicolonAfterLastRule (): void
155155 {
156156 self ::assertSame (
157157 '.main, .test {font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white}
@@ -163,7 +163,7 @@ public function semicolonAfterLastRule()
163163 /**
164164 * @test
165165 */
166- public function spaceAfterRuleName ()
166+ public function spaceAfterRuleName (): void
167167 {
168168 self ::assertSame (
169169 '.main, .test {font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white;}
@@ -175,7 +175,7 @@ public function spaceAfterRuleName()
175175 /**
176176 * @test
177177 */
178- public function spaceRules ()
178+ public function spaceRules (): void
179179 {
180180 self ::assertSame ('.main, .test {
181181 font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;
@@ -191,7 +191,7 @@ public function spaceRules()
191191 /**
192192 * @test
193193 */
194- public function spaceBlocks ()
194+ public function spaceBlocks (): void
195195 {
196196 self ::assertSame ('
197197.main, .test {font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white;}
@@ -204,7 +204,7 @@ public function spaceBlocks()
204204 /**
205205 * @test
206206 */
207- public function spaceBoth ()
207+ public function spaceBoth (): void
208208 {
209209 self ::assertSame ('
210210.main, .test {
@@ -224,7 +224,7 @@ public function spaceBoth()
224224 /**
225225 * @test
226226 */
227- public function spaceBetweenBlocks ()
227+ public function spaceBetweenBlocks (): void
228228 {
229229 self ::assertSame (
230230 '.main, .test {font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white;} '
@@ -236,7 +236,7 @@ public function spaceBetweenBlocks()
236236 /**
237237 * @test
238238 */
239- public function indentation ()
239+ public function indentation (): void
240240 {
241241 self ::assertSame ('
242242.main, .test {
@@ -259,7 +259,7 @@ public function indentation()
259259 /**
260260 * @test
261261 */
262- public function spaceBeforeBraces ()
262+ public function spaceBeforeBraces (): void
263263 {
264264 self ::assertSame (
265265 '.main, .test{font: italic normal bold 16px/1.2 "Helvetica",Verdana,sans-serif;background: white;}
@@ -271,7 +271,7 @@ public function spaceBeforeBraces()
271271 /**
272272 * @test
273273 */
274- public function ignoreExceptionsOff ()
274+ public function ignoreExceptionsOff (): void
275275 {
276276 $ this ->expectException (OutputException::class);
277277
@@ -290,7 +290,7 @@ public function ignoreExceptionsOff()
290290 /**
291291 * @test
292292 */
293- public function ignoreExceptionsOn ()
293+ public function ignoreExceptionsOn (): void
294294 {
295295 $ aBlocks = $ this ->oDocument ->getAllDeclarationBlocks ();
296296 $ oFirstBlock = $ aBlocks [0 ];
0 commit comments