@@ -52,29 +52,29 @@ public function testSquareBrackets($testMarker)
5252 public function dataSquareBrackets ()
5353 {
5454 return [
55- ['/* testArrayAccess1 */ ' ],
56- ['/* testArrayAccess2 */ ' ],
57- ['/* testArrayAssignment */ ' ],
58- ['/* testFunctionCallDereferencing */ ' ],
59- ['/* testMethodCallDereferencing */ ' ],
60- ['/* testStaticMethodCallDereferencing */ ' ],
61- ['/* testPropertyDereferencing */ ' ],
62- ['/* testPropertyDereferencingWithInaccessibleName */ ' ],
63- ['/* testStaticPropertyDereferencing */ ' ],
64- ['/* testStringDereferencing */ ' ],
65- ['/* testStringDereferencingDoubleQuoted */ ' ],
66- ['/* testConstantDereferencing */ ' ],
67- ['/* testClassConstantDereferencing */ ' ],
68- ['/* testMagicConstantDereferencing */ ' ],
69- ['/* testArrayAccessCurlyBraces */ ' ],
70- ['/* testArrayLiteralDereferencing */ ' ],
71- ['/* testShortArrayLiteralDereferencing */ ' ],
72- ['/* testClassMemberDereferencingOnInstantiation1 */ ' ],
73- ['/* testClassMemberDereferencingOnInstantiation2 */ ' ],
74- ['/* testClassMemberDereferencingOnClone */ ' ],
75- ['/* testNullsafeMethodCallDereferencing */ ' ],
76- ['/* testInterpolatedStringDereferencing */ ' ],
77- ['/* testLiveCoding */ ' ],
55+ ' array access 1 ' => ['/* testArrayAccess1 */ ' ],
56+ ' array access 2 ' => ['/* testArrayAccess2 */ ' ],
57+ ' array assignment ' => ['/* testArrayAssignment */ ' ],
58+ ' function call dereferencing ' => ['/* testFunctionCallDereferencing */ ' ],
59+ ' method call dereferencing ' => ['/* testMethodCallDereferencing */ ' ],
60+ ' static method call dereferencing ' => ['/* testStaticMethodCallDereferencing */ ' ],
61+ ' property dereferencing ' => ['/* testPropertyDereferencing */ ' ],
62+ ' property dereferencing with inaccessable name ' => ['/* testPropertyDereferencingWithInaccessibleName */ ' ],
63+ ' static property dereferencing ' => ['/* testStaticPropertyDereferencing */ ' ],
64+ ' string dereferencing single quotes ' => ['/* testStringDereferencing */ ' ],
65+ ' string dereferencing double quotes ' => ['/* testStringDereferencingDoubleQuoted */ ' ],
66+ ' global constant dereferencing ' => ['/* testConstantDereferencing */ ' ],
67+ ' class constant dereferencing ' => ['/* testClassConstantDereferencing */ ' ],
68+ ' magic constant dereferencing ' => ['/* testMagicConstantDereferencing */ ' ],
69+ ' array access with curly braces ' => ['/* testArrayAccessCurlyBraces */ ' ],
70+ ' array literal dereferencing ' => ['/* testArrayLiteralDereferencing */ ' ],
71+ ' short array literal dereferencing ' => ['/* testShortArrayLiteralDereferencing */ ' ],
72+ ' class member dereferencing on instantiation 1 ' => ['/* testClassMemberDereferencingOnInstantiation1 */ ' ],
73+ ' class member dereferencing on instantiation 2 ' => ['/* testClassMemberDereferencingOnInstantiation2 */ ' ],
74+ ' class member dereferencing on clone ' => ['/* testClassMemberDereferencingOnClone */ ' ],
75+ ' nullsafe method call dereferencing ' => ['/* testNullsafeMethodCallDereferencing */ ' ],
76+ ' interpolated string dereferencing ' => ['/* testInterpolatedStringDereferencing */ ' ],
77+ ' live coding ' => ['/* testLiveCoding */ ' ],
7878 ];
7979
8080 }//end dataSquareBrackets()
@@ -117,13 +117,16 @@ public function testShortArrays($testMarker)
117117 public function dataShortArrays ()
118118 {
119119 return [
120- ['/* testShortArrayDeclarationEmpty */ ' ],
121- ['/* testShortArrayDeclarationWithOneValue */ ' ],
122- ['/* testShortArrayDeclarationWithMultipleValues */ ' ],
123- ['/* testShortArrayDeclarationWithDereferencing */ ' ],
124- ['/* testShortListDeclaration */ ' ],
125- ['/* testNestedListDeclaration */ ' ],
126- ['/* testArrayWithinFunctionCall */ ' ],
120+ 'short array empty ' => ['/* testShortArrayDeclarationEmpty */ ' ],
121+ 'short array with value ' => ['/* testShortArrayDeclarationWithOneValue */ ' ],
122+ 'short array with values ' => ['/* testShortArrayDeclarationWithMultipleValues */ ' ],
123+ 'short array with dereferencing ' => ['/* testShortArrayDeclarationWithDereferencing */ ' ],
124+ 'short list ' => ['/* testShortListDeclaration */ ' ],
125+ 'short list nested ' => ['/* testNestedListDeclaration */ ' ],
126+ 'short array within function call ' => ['/* testArrayWithinFunctionCall */ ' ],
127+ 'short list after braced control structure ' => ['/* testShortListDeclarationAfterBracedControlStructure */ ' ],
128+ 'short list after non-braced control structure ' => ['/* testShortListDeclarationAfterNonBracedControlStructure */ ' ],
129+ 'short list after alternative control structure ' => ['/* testShortListDeclarationAfterAlternativeControlStructure */ ' ],
127130 ];
128131
129132 }//end dataShortArrays()
0 commit comments