| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function docstringProvider() |
||
| 25 | { |
||
| 26 | return array( |
||
| 27 | 'single line' => array( |
||
| 28 | '/** |
||
| 29 | * @return wat |
||
| 30 | */', |
||
| 31 | '@return wat', |
||
| 32 | ), |
||
| 33 | 'empty' => array( |
||
| 34 | '', |
||
| 35 | null, |
||
| 36 | ), |
||
| 37 | 'bullets' => array( |
||
| 38 | '/** |
||
| 39 | * * This is an item |
||
| 40 | * * This is another item |
||
| 41 | */', |
||
| 42 | "* This is an item\n* This is another item", |
||
| 43 | ), |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | |||
| 58 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.