These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | class TestedRoboFile extends \Robo\Tasks |
||
3 | { |
||
4 | public function generateUserAvatar() |
||
5 | { |
||
6 | } |
||
7 | |||
8 | public function hello($name = null, $opts = ['yell' => false, 'to' => null]) { |
||
0 ignored issues
–
show
|
|||
9 | } |
||
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]) |
||
0 ignored issues
–
show
|
|||
31 | { |
||
32 | } |
||
33 | |||
34 | /** Compact doc comment */ |
||
35 | public function compact() |
||
36 | { |
||
37 | } |
||
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.