| 1 | <?php |
||
| 2 | class TestedRoboFile extends \Robo\Tasks |
||
| 3 | { |
||
| 4 | public function generateUserAvatar() |
||
| 7 | |||
| 8 | public function hello($name = null, $opts = ['yell' => false, 'to' => null]) { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Calculate the fibonacci sequence between two numbers. |
||
| 13 | * |
||
| 14 | * Graphic output will look like |
||
| 15 | * +----+---+-------------+ |
||
| 16 | * | | | | |
||
| 17 | * | |-+-| | |
||
| 18 | * |----+-+-+ | |
||
| 19 | * | | | |
||
| 20 | * | | | |
||
| 21 | * | | | |
||
| 22 | * +--------+-------------+ |
||
| 23 | * |
||
| 24 | * @param int $start Number to start from |
||
| 25 | * @param int $steps Number of steps to perform |
||
| 26 | * @param array $opts |
||
| 27 | * @option $graphic Display the sequence graphically using cube |
||
| 28 | * representation |
||
| 29 | */ |
||
| 30 | public function fibonacci($start, $steps, $opts = ['graphic' => false]) |
||
| 33 | |||
| 34 | /** Compact doc comment */ |
||
| 35 | public function compact() |
||
| 38 | } |
||
| 39 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.