1 | <?php |
||
25 | * @author Alexander Obuhovich <[email protected]> |
||
26 | * @license https://github.com/aik099/CodingStandard/blob/master/LICENSE BSD 3-Clause |
||
27 | * @link https://github.com/aik099/CodingStandard |
||
28 | */ |
||
29 | class DocCommentUnitTest extends AbstractSniffUnitTest |
||
30 | { |
||
31 | |||
32 | |||
33 | /** |
||
34 | * Returns the lines where errors should occur. |
||
35 | * |
||
36 | * The key of the array should represent the line number and the value |
||
37 | * should represent the number of errors that should occur on that line. |
||
38 | * |
||
39 | * @param string $testFile Name of the file with test data. |
||
40 | * |
||
41 | * @return array(int => int) |
||
42 | */ |
||
43 | public function getErrorList($testFile) |
||
82 | |||
83 | |||
84 | /** |
||
85 | * Returns the lines where warnings should occur. |
||
86 | * |
||
87 | * The key of the array should represent the line number and the value |
||
88 | * should represent the number of warnings that should occur on that line. |
||
89 | * |
||
90 | * @param string $testFile Name of the file with test data. |
||
91 | * |
||
92 | * @return array(int => int) |
||
93 | */ |
||
94 | public function getWarningList($testFile) |
||
98 | }//end class |
||
99 |