| 1 | <?php |
||
| 23 | * @author Alexander Obuhovich <[email protected]> |
||
| 24 | * @license https://github.com/aik099/CodingStandard/blob/master/LICENSE BSD 3-Clause |
||
| 25 | * @link https://github.com/aik099/CodingStandard |
||
| 26 | */ |
||
| 27 | class SpaceUnaryOperatorUnitTest 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) |
||
| 50 | |||
| 51 | |||
| 52 | /** |
||
| 53 | * Returns the lines where warnings should occur. |
||
| 54 | * |
||
| 55 | * The key of the array should represent the line number and the value |
||
| 56 | * should represent the number of warnings that should occur on that line. |
||
| 57 | * |
||
| 58 | * @param string $testFile Name of the file with test data. |
||
| 59 | * |
||
| 60 | * @return array(int => int) |
||
| 61 | */ |
||
| 62 | public function getWarningList($testFile) |
||
| 66 | }//end class |
||
| 67 |