@@ -55,32 +55,36 @@ public function testSquareBrackets($testMarker)
5555 public static function dataSquareBrackets ()
5656 {
5757 return [
58- 'array access 1 ' => ['/* testArrayAccess1 */ ' ],
59- 'array access 2 ' => ['/* testArrayAccess2 */ ' ],
60- 'array assignment ' => ['/* testArrayAssignment */ ' ],
61- 'function call dereferencing ' => ['/* testFunctionCallDereferencing */ ' ],
62- 'method call dereferencing ' => ['/* testMethodCallDereferencing */ ' ],
63- 'static method call dereferencing ' => ['/* testStaticMethodCallDereferencing */ ' ],
64- 'property dereferencing ' => ['/* testPropertyDereferencing */ ' ],
65- 'property dereferencing with inaccessable name ' => ['/* testPropertyDereferencingWithInaccessibleName */ ' ],
66- 'static property dereferencing ' => ['/* testStaticPropertyDereferencing */ ' ],
67- 'string dereferencing single quotes ' => ['/* testStringDereferencing */ ' ],
68- 'string dereferencing double quotes ' => ['/* testStringDereferencingDoubleQuoted */ ' ],
69- 'global constant dereferencing ' => ['/* testConstantDereferencing */ ' ],
70- 'class constant dereferencing ' => ['/* testClassConstantDereferencing */ ' ],
71- 'magic constant dereferencing ' => ['/* testMagicConstantDereferencing */ ' ],
72- 'partially qualified constant dereferencing ' => ['/* testPartiallyQualifiedConstantDereferencing */ ' ],
73- 'fully qualified constant dereferencing ' => ['/* testFQNConstantDereferencing */ ' ],
74- 'namespace relative constant dereferencing ' => ['/* testNamespaceRelativeConstantDereferencing */ ' ],
75- 'array access with curly braces ' => ['/* testArrayAccessCurlyBraces */ ' ],
76- 'array literal dereferencing ' => ['/* testArrayLiteralDereferencing */ ' ],
77- 'short array literal dereferencing ' => ['/* testShortArrayLiteralDereferencing */ ' ],
78- 'class member dereferencing on instantiation 1 ' => ['/* testClassMemberDereferencingOnInstantiation1 */ ' ],
79- 'class member dereferencing on instantiation 2 ' => ['/* testClassMemberDereferencingOnInstantiation2 */ ' ],
80- 'class member dereferencing on clone ' => ['/* testClassMemberDereferencingOnClone */ ' ],
81- 'nullsafe method call dereferencing ' => ['/* testNullsafeMethodCallDereferencing */ ' ],
82- 'interpolated string dereferencing ' => ['/* testInterpolatedStringDereferencing */ ' ],
83- 'live coding ' => ['/* testLiveCoding */ ' ],
58+ 'array access 1 ' => ['/* testArrayAccess1 */ ' ],
59+ 'array access 2 ' => ['/* testArrayAccess2 */ ' ],
60+ 'array assignment ' => ['/* testArrayAssignment */ ' ],
61+ 'function call dereferencing ' => ['/* testFunctionCallDereferencing */ ' ],
62+ 'method call dereferencing ' => ['/* testMethodCallDereferencing */ ' ],
63+ 'static method call dereferencing ' => ['/* testStaticMethodCallDereferencing */ ' ],
64+ 'property dereferencing ' => ['/* testPropertyDereferencing */ ' ],
65+ 'property dereferencing with inaccessable name ' => ['/* testPropertyDereferencingWithInaccessibleName */ ' ],
66+ 'static property dereferencing ' => ['/* testStaticPropertyDereferencing */ ' ],
67+ 'string dereferencing single quotes ' => ['/* testStringDereferencing */ ' ],
68+ 'string dereferencing double quotes ' => ['/* testStringDereferencingDoubleQuoted */ ' ],
69+ 'global constant dereferencing ' => ['/* testConstantDereferencing */ ' ],
70+ 'class constant dereferencing ' => ['/* testClassConstantDereferencing */ ' ],
71+ 'magic constant dereferencing ' => ['/* testMagicConstantDereferencing */ ' ],
72+ 'partially qualified constant dereferencing ' => ['/* testPartiallyQualifiedConstantDereferencing */ ' ],
73+ 'fully qualified constant dereferencing ' => ['/* testFQNConstantDereferencing */ ' ],
74+ 'namespace relative constant dereferencing ' => ['/* testNamespaceRelativeConstantDereferencing */ ' ],
75+ 'array access with curly braces ' => ['/* testArrayAccessCurlyBraces */ ' ],
76+ 'array literal dereferencing ' => ['/* testArrayLiteralDereferencing */ ' ],
77+ 'short array literal dereferencing ' => ['/* testShortArrayLiteralDereferencing */ ' ],
78+ 'class member dereferencing on instantiation 1 ' => ['/* testClassMemberDereferencingOnInstantiation1 */ ' ],
79+ 'class member dereferencing on instantiation 2 ' => ['/* testClassMemberDereferencingOnInstantiation2 */ ' ],
80+ 'class member dereferencing on clone ' => ['/* testClassMemberDereferencingOnClone */ ' ],
81+ 'nullsafe method call dereferencing ' => ['/* testNullsafeMethodCallDereferencing */ ' ],
82+ 'interpolated string dereferencing ' => ['/* testInterpolatedStringDereferencing */ ' ],
83+ 'new anonymous class expression dereferencing 1 ' => ['/* testNewAnonClassNoParenthesesExpressionDereferencing */ ' ],
84+ 'new anonymous class expression dereferencing 2 ' => ['/* testNewAnonClassParenthesesExpressionDereferencing */ ' ],
85+ 'new anonymous class expression dereferencing 3 ' => ['/* testNewAnonClassExtendsExpressionDereferencing */ ' ],
86+ 'new anonymous class expression dereferencing 4 ' => ['/* testNewAnonClassImplementsExpressionDereferencing */ ' ],
87+ 'live coding ' => ['/* testLiveCoding */ ' ],
8488 ];
8589
8690 }//end dataSquareBrackets()
@@ -136,6 +140,7 @@ public static function dataShortArrays()
136140 'short list after braced control structure ' => ['/* testShortListDeclarationAfterBracedControlStructure */ ' ],
137141 'short list after non-braced control structure ' => ['/* testShortListDeclarationAfterNonBracedControlStructure */ ' ],
138142 'short list after alternative control structure ' => ['/* testShortListDeclarationAfterAlternativeControlStructure */ ' ],
143+ 'short list after class declaration ' => ['/* testShortListDeclarationAfterClassDeclaration */ ' ],
139144 ];
140145
141146 }//end dataShortArrays()
0 commit comments