| 1 | <?php |
||
| 30 | class CodingStandard_Tests_Commenting_InlineCommentUnitTest extends AbstractSniffUnitTest |
||
|
1 ignored issue
–
show
|
|||
| 31 | { |
||
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns the lines where errors should occur. |
||
| 36 | * |
||
| 37 | * The key of the array should represent the line number and the value |
||
| 38 | * should represent the number of errors that should occur on that line. |
||
| 39 | * |
||
| 40 | * @param string $testFile The name of the file being tested. |
||
| 41 | * |
||
| 42 | * @return array(int => int) |
||
|
1 ignored issue
–
show
|
|||
| 43 | */ |
||
| 44 | public function getErrorList($testFile) |
||
| 99 | |||
| 100 | |||
| 101 | /** |
||
| 102 | * Returns the lines where warnings should occur. |
||
| 103 | * |
||
| 104 | * The key of the array should represent the line number and the value |
||
| 105 | * should represent the number of warnings that should occur on that line. |
||
| 106 | * |
||
| 107 | * @param string $testFile The name of the file being tested. |
||
| 108 | * |
||
| 109 | * @return array(int => int) |
||
|
1 ignored issue
–
show
|
|||
| 110 | */ |
||
| 111 | public function getWarningList($testFile) |
||
| 116 | |||
| 117 | |||
| 118 | }//end class |
||
| 119 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.