1 | <?php |
||
27 | class WrongParentCallUnitTest 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) |
||
45 | |||
46 | /** |
||
47 | * Returns the lines where warnings should occur. |
||
48 | * |
||
49 | * The key of the array should represent the line number and the value |
||
50 | * should represent the number of warnings that should occur on that line. |
||
51 | * |
||
52 | * @param string $testFile Name of the file with test data. |
||
53 | * |
||
54 | * @return array(int => int) |
||
55 | */ |
||
56 | public function getWarningList($testFile) |
||
60 | }//end class |
||
61 |