@@ -161,8 +161,8 @@ public function colorParsing(): void
161161 self ::assertEmpty ($ colorRules );
162162 }
163163 }
164- foreach ($ document ->getAllValues ('color ' ) as $ sColor ) {
165- self ::assertSame ('red ' , $ sColor );
164+ foreach ($ document ->getAllValues ('color ' ) as $ colorValue ) {
165+ self ::assertSame ('red ' , $ colorValue );
166166 }
167167 self ::assertSame (
168168 '#mine {color: red;border-color: #0a64e6;border-color: rgba(10,100,231,.3);outline-color: #222; '
@@ -463,9 +463,9 @@ public function functionSyntax(): void
463463 . '.collapser.expanded + * {height: auto;} ' ;
464464 self ::assertSame ($ expected , $ document ->render ());
465465
466- foreach ($ document ->getAllValues (null , true ) as $ mValue ) {
467- if ($ mValue instanceof Size && $ mValue ->isSize ()) {
468- $ mValue ->setSize ($ mValue ->getSize () * 3 );
466+ foreach ($ document ->getAllValues (null , true ) as $ value ) {
467+ if ($ value instanceof Size && $ value ->isSize ()) {
468+ $ value ->setSize ($ value ->getSize () * 3 );
469469 }
470470 }
471471 $ expected = \str_replace (['1.2em ' , '.2em ' , '60% ' ], ['3.6em ' , '.6em ' , '180% ' ], $ expected );
@@ -952,12 +952,12 @@ public function missingPropertyValueLenient(): void
952952 * Parses structure for file.
953953 *
954954 * @param string $filename
955- * @param Settings|null $oSettings
955+ * @param Settings|null $settings
956956 */
957- public static function parsedStructureForFile ($ filename , $ oSettings = null ): Document
957+ public static function parsedStructureForFile ($ filename , $ settings = null ): Document
958958 {
959959 $ filename = __DIR__ . "/fixtures/ $ filename.css " ;
960- $ parser = new Parser (\file_get_contents ($ filename ), $ oSettings );
960+ $ parser = new Parser (\file_get_contents ($ filename ), $ settings );
961961 return $ parser ->parse ();
962962 }
963963
@@ -1011,8 +1011,8 @@ public function lineNumbersParsing(): void
10111011 self ::assertSame (27 , $ rules [1 ]->getLineNo ());
10121012
10131013 $ actualColorLineNumbers = [];
1014- foreach ($ valueOfSecondRule ->getColor () as $ oSize ) {
1015- $ actualColorLineNumbers [] = $ oSize ->getLineNo ();
1014+ foreach ($ valueOfSecondRule ->getColor () as $ size ) {
1015+ $ actualColorLineNumbers [] = $ size ->getLineNo ();
10161016 }
10171017
10181018 self ::assertSame ($ expectedColorLineNumbers , $ actualColorLineNumbers );
@@ -1044,16 +1044,16 @@ public function unexpectedTokenExceptionLineNo(): void
10441044 public function commentExtracting (): void
10451045 {
10461046 $ document = self ::parsedStructureForFile ('comments ' );
1047- $ aNodes = $ document ->getContents ();
1047+ $ nodes = $ document ->getContents ();
10481048
10491049 // Import property.
1050- $ importComments = $ aNodes [0 ]->getComments ();
1050+ $ importComments = $ nodes [0 ]->getComments ();
10511051 self ::assertCount (2 , $ importComments );
10521052 self ::assertSame ("* \n * Comments \n " , $ importComments [0 ]->getComment ());
10531053 self ::assertSame (' Hell ' , $ importComments [1 ]->getComment ());
10541054
10551055 // Declaration block.
1056- $ fooBarBlock = $ aNodes [1 ];
1056+ $ fooBarBlock = $ nodes [1 ];
10571057 $ fooBarBlockComments = $ fooBarBlock ->getComments ();
10581058 // TODO Support comments in selectors.
10591059 // $this->assertCount(2, $fooBarBlockComments);
@@ -1068,11 +1068,11 @@ public function commentExtracting(): void
10681068 self ::assertSame (' Number 6 ' , $ fooBarRuleComments [0 ]->getComment ());
10691069
10701070 // Media property.
1071- $ mediaComments = $ aNodes [2 ]->getComments ();
1071+ $ mediaComments = $ nodes [2 ]->getComments ();
10721072 self ::assertCount (0 , $ mediaComments );
10731073
10741074 // Media children.
1075- $ mediaRules = $ aNodes [2 ]->getContents ();
1075+ $ mediaRules = $ nodes [2 ]->getContents ();
10761076 $ fooBarComments = $ mediaRules [0 ]->getComments ();
10771077 self ::assertCount (1 , $ fooBarComments );
10781078 self ::assertSame ('* Number 10 * ' , $ fooBarComments [0 ]->getComment ());
0 commit comments