1 | <?php |
||
16 | class ForbiddenNamesAsInvokedFunctionsSniffTest extends BaseSniffTest |
||
17 | { |
||
18 | /** |
||
19 | * Sniffed file |
||
20 | * |
||
21 | * @var PHP_CodeSniffer_File |
||
22 | */ |
||
23 | protected $_sniffFile; |
||
24 | |||
25 | /** |
||
26 | * setUp |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | public function setUp() |
||
36 | |||
37 | /** |
||
38 | * TestAbstract |
||
39 | * |
||
40 | * @return void |
||
41 | */ |
||
42 | public function testAbstract() |
||
46 | |||
47 | /** |
||
48 | * testCallable |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | public function testCallable() |
||
56 | |||
57 | /** |
||
58 | * testCatch |
||
59 | * |
||
60 | * @return void |
||
61 | */ |
||
62 | public function testCatch() |
||
66 | |||
67 | /** |
||
68 | * testClone |
||
69 | * |
||
70 | * @return void |
||
71 | */ |
||
72 | public function testClone() |
||
76 | |||
77 | /** |
||
78 | * testFinal |
||
79 | * |
||
80 | * @return void |
||
81 | */ |
||
82 | public function testFinal() |
||
86 | |||
87 | /** |
||
88 | * testFinally |
||
89 | * |
||
90 | * TODO: Test 'finally' (PHP 5.5) |
||
91 | * |
||
92 | * @return void |
||
93 | */ |
||
94 | public function testFinally() |
||
98 | |||
99 | /** |
||
100 | * testGoto |
||
101 | * |
||
102 | * @return void |
||
103 | */ |
||
104 | public function testGoto() |
||
108 | |||
109 | /** |
||
110 | * testImplements |
||
111 | * |
||
112 | * @return void |
||
113 | */ |
||
114 | public function testImplements() |
||
118 | |||
119 | /** |
||
120 | * testInterface |
||
121 | * |
||
122 | * @return void |
||
123 | */ |
||
124 | public function testInterface() |
||
128 | |||
129 | /** |
||
130 | * testInstanceOf |
||
131 | * |
||
132 | * @return void |
||
133 | */ |
||
134 | public function testInstanceOf() |
||
138 | |||
139 | /** |
||
140 | * testInsteadOf |
||
141 | * |
||
142 | * @return void |
||
143 | */ |
||
144 | public function testInsteadOf() |
||
148 | |||
149 | /** |
||
150 | * testNamespace |
||
151 | * |
||
152 | * @return void |
||
153 | */ |
||
154 | public function testNamespace() |
||
158 | |||
159 | /** |
||
160 | * testPrivate |
||
161 | * |
||
162 | * @return void |
||
163 | */ |
||
164 | public function testPrivate() |
||
168 | |||
169 | /** |
||
170 | * testProteced |
||
171 | * |
||
172 | * @return void |
||
173 | */ |
||
174 | public function testProteced() |
||
178 | |||
179 | /** |
||
180 | * testPublic |
||
181 | * |
||
182 | * @return void |
||
183 | */ |
||
184 | public function testPublic() |
||
188 | |||
189 | /** |
||
190 | * testThrow |
||
191 | * |
||
192 | * @return void |
||
193 | */ |
||
194 | public function testThrow() |
||
198 | |||
199 | /** |
||
200 | * testTrait |
||
201 | * |
||
202 | * @return void |
||
203 | */ |
||
204 | public function testTrait() |
||
208 | |||
209 | /** |
||
210 | * testTry |
||
211 | * |
||
212 | * @return void |
||
213 | */ |
||
214 | public function testTry() |
||
218 | |||
219 | /** |
||
220 | * testBool |
||
221 | * |
||
222 | * @return void |
||
223 | */ |
||
224 | public function testBool() |
||
228 | |||
229 | /** |
||
230 | * testInt |
||
231 | * |
||
232 | * @return void |
||
233 | */ |
||
234 | public function testInt() |
||
238 | |||
239 | /** |
||
240 | * testFloat |
||
241 | * |
||
242 | * @return void |
||
243 | */ |
||
244 | public function testFloat() |
||
248 | |||
249 | /** |
||
250 | * testString |
||
251 | * |
||
252 | * @return void |
||
253 | */ |
||
254 | public function testString() |
||
258 | |||
259 | /** |
||
260 | * testNull |
||
261 | * |
||
262 | * @return void |
||
263 | */ |
||
264 | public function testNull() |
||
269 | |||
270 | /** |
||
271 | * testTrue |
||
272 | * |
||
273 | * @return void |
||
274 | */ |
||
275 | public function testTrue() |
||
280 | |||
281 | /** |
||
282 | * testFalse |
||
283 | * |
||
284 | * @return void |
||
285 | */ |
||
286 | public function testFalse() |
||
291 | |||
292 | /** |
||
293 | * testResource |
||
294 | * |
||
295 | * @return void |
||
296 | */ |
||
297 | public function testResource() |
||
301 | |||
302 | /** |
||
303 | * testObject |
||
304 | * |
||
305 | * @return void |
||
306 | */ |
||
307 | public function testObject() |
||
311 | |||
312 | /** |
||
313 | * testMixed |
||
314 | * |
||
315 | * @return void |
||
316 | */ |
||
317 | public function testMixed() |
||
321 | |||
322 | /** |
||
323 | * testNumberic |
||
324 | * |
||
325 | * @return void |
||
326 | */ |
||
327 | public function testNumeric() |
||
331 | |||
332 | /** |
||
333 | * Verify that checking for a specific version works |
||
334 | * |
||
335 | * @return void |
||
336 | */ |
||
337 | public function testGotoInPreviousVersion() |
||
343 | } |
||
344 |