@@ -443,7 +443,7 @@ function parsedStructureForFile($sFileName, $oSettings = null) {
443
443
function testLineNumbersParsing () {
444
444
$ oDoc = $ this ->parsedStructureForFile ('line-numbers ' );
445
445
// array key is the expected line number
446
- $ aExpected = [
446
+ $ aExpected = array (
447
447
1 => ['Sabberworm\CSS\Property\Charset ' ],
448
448
3 => ['Sabberworm\CSS\Property\CSSNamespace ' ],
449
449
5 => ['Sabberworm\CSS\RuleSet\AtRuleSet ' ],
@@ -452,9 +452,9 @@ function testLineNumbersParsing() {
452
452
17 => ['Sabberworm\CSS\CSSList\KeyFrame ' , 18 , 20 ],
453
453
23 => ['Sabberworm\CSS\Property\Import ' ],
454
454
25 => ['Sabberworm\CSS\RuleSet\DeclarationBlock ' ]
455
- ] ;
455
+ ) ;
456
456
457
- $ aActual = [] ;
457
+ $ aActual = array () ;
458
458
foreach ($ oDoc ->getContents () as $ oContent ) {
459
459
$ aActual [$ oContent ->getLineNo ()] = [get_class ($ oContent )];
460
460
if ($ oContent instanceof KeyFrame) {
@@ -464,8 +464,8 @@ function testLineNumbersParsing() {
464
464
}
465
465
}
466
466
467
- $ aUrlExpected = [ 7 , 26 ] ; // expected line numbers
468
- $ aUrlActual = [] ;
467
+ $ aUrlExpected = array ( 7 , 26 ) ; // expected line numbers
468
+ $ aUrlActual = array () ;
469
469
foreach ($ oDoc ->getAllValues () as $ oValue ) {
470
470
if ($ oValue instanceof URL ) {
471
471
$ aUrlActual [] = $ oValue ->getLineNo ();
0 commit comments