1 | <?php |
||
27 | class NamespaceDeclarationUnitTest extends AbstractSniffUnitTest |
||
28 | { |
||
29 | |||
30 | |||
31 | /** |
||
32 | * Returns the lines where errors should occur. |
||
33 | * |
||
34 | * The key of the array should represent the line number and the value |
||
35 | * should represent the number of errors that should occur on that line. |
||
36 | * |
||
37 | * @param string $testFile Name of the file with test data. |
||
38 | * |
||
39 | * @return array(int => int) |
||
40 | */ |
||
41 | public function getErrorList($testFile) |
||
57 | |||
58 | |||
59 | /** |
||
60 | * Returns the lines where warnings should occur. |
||
61 | * |
||
62 | * The key of the array should represent the line number and the value |
||
63 | * should represent the number of warnings that should occur on that line. |
||
64 | * |
||
65 | * @param string $testFile Name of the file with test data. |
||
66 | * |
||
67 | * @return array(int => int) |
||
68 | */ |
||
69 | public function getWarningList($testFile) |
||
73 | }//end class |
||
74 |