1 | <?php |
||
30 | * @author Alexander Obuhovich <[email protected]> |
||
31 | * @license https://github.com/aik099/CodingStandard/blob/master/LICENSE BSD 3-Clause |
||
32 | * @link https://github.com/aik099/CodingStandard |
||
33 | */ |
||
34 | class InlineCommentUnitTest extends AbstractSniffUnitTest |
||
35 | { |
||
36 | |||
37 | |||
38 | /** |
||
39 | * Returns the lines where errors should occur. |
||
40 | * |
||
41 | * The key of the array should represent the line number and the value |
||
42 | * should represent the number of errors that should occur on that line. |
||
43 | * |
||
44 | * @param string $testFile The name of the file being tested. |
||
45 | * |
||
46 | * @return array(int => int) |
||
47 | */ |
||
48 | public function getErrorList($testFile) |
||
98 | |||
99 | |||
100 | /** |
||
101 | * Returns the lines where warnings should occur. |
||
102 | * |
||
103 | * The key of the array should represent the line number and the value |
||
104 | * should represent the number of warnings that should occur on that line. |
||
105 | * |
||
106 | * @param string $testFile The name of the file being tested. |
||
107 | * |
||
108 | * @return array(int => int) |
||
109 | */ |
||
110 | public function getWarningList($testFile) |
||
114 | }//end class |
||
115 |