@@ -55,6 +55,11 @@ public static function dataNullable()
5555 'property declaration, public and protected set ' => ['/* testNullablePublicProtectedSet */ ' ],
5656 'property declaration, final, no visibility ' => ['/* testNullableFinalOnly */ ' ],
5757 'property declaration, abstract, no visibility ' => ['/* testNullableAbstractOnly */ ' ],
58+
59+ 'closure param type, nullable int ' => ['/* testClosureParamTypeNullableInt */ ' ],
60+ 'closure param type, nullable callable ' => ['/* testClosureParamTypeNullableCallable */ ' ],
61+ 'closure return type, nullable int ' => ['/* testClosureReturnTypeNullableInt */ ' ],
62+ 'function return type, nullable callable ' => ['/* testFunctionReturnTypeNullableCallable */ ' ],
5863 ];
5964
6065 }//end dataNullable()
@@ -91,7 +96,25 @@ public function testInlineThen($testMarker)
9196 public static function dataInlineThen ()
9297 {
9398 return [
94- 'ternary in property default value ' => ['/* testInlineThenInPropertyDefaultValue */ ' ],
99+ 'ternary in property default value ' => ['/* testInlineThenInPropertyDefaultValue */ ' ],
100+
101+ 'ternary ? followed by array declaration ' => ['/* testInlineThenWithArrayDeclaration */ ' ],
102+
103+ 'ternary ? followed by unqualified constant ' => ['/* testInlineThenWithUnqualifiedNameAndNothingElse */ ' ],
104+ 'ternary ? followed by unqualified function call ' => ['/* testInlineThenWithUnqualifiedNameAndParens */ ' ],
105+ 'ternary ? followed by unqualified static method call ' => ['/* testInlineThenWithUnqualifiedNameAndDoubleColon */ ' ],
106+
107+ 'ternary ? followed by fully qualified constant ' => ['/* testInlineThenWithFullyQualifiedNameAndNothingElse */ ' ],
108+ 'ternary ? followed by fully qualified function call ' => ['/* testInlineThenWithFullyQualifiedNameAndParens */ ' ],
109+ 'ternary ? followed by fully qualified static method call ' => ['/* testInlineThenWithFullyQualifiedNameAndDoubleColon */ ' ],
110+
111+ 'ternary ? followed by partially qualified constant ' => ['/* testInlineThenWithPartiallyQualifiedNameAndNothingElse */ ' ],
112+ 'ternary ? followed by partially qualified function call ' => ['/* testInlineThenWithPartiallyQualifiedNameAndParens */ ' ],
113+ 'ternary ? followed by partially qualified static method call ' => ['/* testInlineThenWithPartiallyQualifiedNameAndDoubleColon */ ' ],
114+
115+ 'ternary ? followed by namespace relative constant ' => ['/* testInlineThenWithNamespaceRelativeNameAndNothingElse */ ' ],
116+ 'ternary ? followed by namespace relative function call ' => ['/* testInlineThenWithNamespaceRelativeNameAndParens */ ' ],
117+ 'ternary ? followed by namespace relative static method call ' => ['/* testInlineThenWithNamespaceRelativeNameAndDoubleColon */ ' ],
95118 ];
96119
97120 }//end dataInlineThen()
0 commit comments