@@ -443,7 +443,7 @@ function parsedStructureForFile($sFileName, $oSettings = null) {
443443 function testLineNumbersParsing () {
444444 $ oDoc = $ this ->parsedStructureForFile ('line-numbers ' );
445445 // array key is the expected line number
446- $ aExpected = [
446+ $ aExpected = array (
447447 1 => ['Sabberworm\CSS\Property\Charset ' ],
448448 3 => ['Sabberworm\CSS\Property\CSSNamespace ' ],
449449 5 => ['Sabberworm\CSS\RuleSet\AtRuleSet ' ],
@@ -452,9 +452,9 @@ function testLineNumbersParsing() {
452452 17 => ['Sabberworm\CSS\CSSList\KeyFrame ' , 18 , 20 ],
453453 23 => ['Sabberworm\CSS\Property\Import ' ],
454454 25 => ['Sabberworm\CSS\RuleSet\DeclarationBlock ' ]
455- ] ;
455+ ) ;
456456
457- $ aActual = [] ;
457+ $ aActual = array () ;
458458 foreach ($ oDoc ->getContents () as $ oContent ) {
459459 $ aActual [$ oContent ->getLineNo ()] = [get_class ($ oContent )];
460460 if ($ oContent instanceof KeyFrame) {
@@ -464,8 +464,8 @@ function testLineNumbersParsing() {
464464 }
465465 }
466466
467- $ aUrlExpected = [ 7 , 26 ] ; // expected line numbers
468- $ aUrlActual = [] ;
467+ $ aUrlExpected = array ( 7 , 26 ) ; // expected line numbers
468+ $ aUrlActual = array () ;
469469 foreach ($ oDoc ->getAllValues () as $ oValue ) {
470470 if ($ oValue instanceof URL ) {
471471 $ aUrlActual [] = $ oValue ->getLineNo ();
0 commit comments