| 1 | <?php |
||
| 14 | class OneTraitPerFileUnitTest extends AbstractSniffUnitTest |
||
| 15 | { |
||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * Returns the lines where errors should occur. |
||
| 20 | * |
||
| 21 | * The key of the array should represent the line number and the value |
||
| 22 | * should represent the number of errors that should occur on that line. |
||
| 23 | * |
||
| 24 | * @return array(int => int) |
||
|
|
|||
| 25 | */ |
||
| 26 | public function getErrorList() |
||
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Returns the lines where warnings should occur. |
||
| 38 | * |
||
| 39 | * The key of the array should represent the line number and the value |
||
| 40 | * should represent the number of warnings that should occur on that line. |
||
| 41 | * |
||
| 42 | * @return array(int => int) |
||
| 43 | */ |
||
| 44 | public function getWarningList() |
||
| 49 | |||
| 50 | |||
| 51 | }//end class |
||
| 52 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.