1 | <?php |
||
16 | class NewKeywordsSniffTest extends BaseSniffTest |
||
17 | { |
||
18 | /** |
||
19 | * Test allow_url_include |
||
20 | * |
||
21 | * @return void |
||
22 | */ |
||
23 | public function testDirMagicConstant() |
||
29 | |||
30 | /** |
||
31 | * Test insteadof |
||
32 | * |
||
33 | * @requires PHP 5.4 |
||
34 | * @return void |
||
35 | */ |
||
36 | public function testInsteadOf() |
||
42 | |||
43 | /** |
||
44 | * Test namespace keyword |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function testNamespaceKeyword() |
||
54 | |||
55 | /** |
||
56 | * testNamespaceConstant |
||
57 | * |
||
58 | * @return void |
||
59 | */ |
||
60 | public function testNamespaceConstant() |
||
66 | |||
67 | /** |
||
68 | * Test trait keyword |
||
69 | * |
||
70 | * @requires PHP 5.4 |
||
71 | * @return void |
||
72 | */ |
||
73 | public function testTraitKeyword() |
||
79 | |||
80 | /** |
||
81 | * Test trait magic constant |
||
82 | * |
||
83 | * @requires PHP 5.4 |
||
84 | * @return void |
||
85 | */ |
||
86 | public function testTraitConstant() |
||
92 | |||
93 | /** |
||
94 | * Test the use keyword |
||
95 | * |
||
96 | * @return void |
||
97 | */ |
||
98 | public function testUse() |
||
104 | |||
105 | /** |
||
106 | * Test yield |
||
107 | * |
||
108 | * @requires PHP 5.5 |
||
109 | * @return void |
||
110 | */ |
||
111 | public function testYield() |
||
117 | |||
118 | /** |
||
119 | * testFinally |
||
120 | * |
||
121 | * @requires PHP 5.5 |
||
122 | * @return void |
||
123 | */ |
||
124 | public function testFinally() |
||
130 | |||
131 | /** |
||
132 | * testNowdoc |
||
133 | * |
||
134 | * @requires PHP 5.3 |
||
135 | * @return void |
||
136 | */ |
||
137 | public function testNowdoc() |
||
144 | |||
145 | } |
||
146 |