Completed
Push — master ( 0bad36...7c076d )
by Steve
01:35
created

spec/Counters/RedisClientMock.php (4 issues)

Severity

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
3
namespace spec\MeadSteve\DiceApi\Counters;
4
5
use Predis\Client;
6
7
class RedisClient extends Client
8
{
9
    public function hincrby($key, $field, $inc)
0 ignored issues
show
The parameter $key 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 $field 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 $inc 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...
10
    {
11
        return true;
12
    }
13
14
    public function hgetall($key)
0 ignored issues
show
The parameter $key 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...
15
    {
16
        return [];
17
    }
18
}
19