Completed
Push — master ( a20e35...2a3e96 )
by Greg
03:21
created

tests/_data/TestedRoboFile.php (5 issues)

parameters are used.

Unused Code Minor

Upgrade to new PHP Analysis Engine

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
The parameter $name is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
The parameter $opts is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
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
The parameter $start is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
The parameter $steps is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
The parameter $opts is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
31
    {
32
    }
33
34
    /** Compact doc comment */
35
    public function compact()
36
    {
37
    }
38
}
39