Completed
Pull Request — master (#16)
by Steve
01:55
created
spec/Counters/RedisClientMock.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -6,11 +6,18 @@
 block discarded – undo
6 6
 
7 7
 class RedisClient extends Client
8 8
 {
9
+    /**
10
+     * @param string $key
11
+     * @param integer $inc
12
+     */
9 13
     public function hincrby($key, $field, $inc)
10 14
     {
11 15
         return true;
12 16
     }
13 17
 
18
+    /**
19
+     * @param string $key
20
+     */
14 21
     public function hgetall($key)
15 22
     {
16 23
         return [];
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,4 +16,4 @@
 block discarded – undo
16 16
         return [];
17 17
     }
18 18
 }
19
- 
20 19
\ No newline at end of file
20
+    
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
spec/Dice/BasicDiceSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\MeadSteve\DiceApi\Dice;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class BasicDiceSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/Dice/Factories/DiceFactoryCollectionSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use MeadSteve\DiceApi\Dice\BasicDice;
6 6
 use MeadSteve\DiceApi\Dice;
7 7
 use MeadSteve\DiceApi\Dice\Factories\DiceFactory;
8
-use MeadSteve\DiceApi\Dice\Factories\NumericDiceFactory;
9 8
 use MeadSteve\DiceApi\Dice\UncreatableDiceException;
10 9
 use PhpSpec\ObjectBehavior;
11
-use Prophecy\Argument;
12 10
 
13 11
 class DiceFactoryCollectionSpec extends ObjectBehavior
14 12
 {
Please login to merge, or discard this patch.
spec/Dice/Factories/NumericDiceFactorySpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use MeadSteve\DiceApi\Dice\Factories\NumericDiceFactory;
8 8
 use MeadSteve\DiceApi\Dice\UncreatableDiceException;
9 9
 use PhpSpec\ObjectBehavior;
10
-use Prophecy\Argument;
11 10
 
12 11
 class NumericDiceFactorySpec extends ObjectBehavior
13 12
 {
Please login to merge, or discard this patch.
spec/Dice/Factories/SpecialDiceFactorySpec.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace spec\MeadSteve\DiceApi\Dice\Factories;
4 4
 
5
-use MeadSteve\DiceApi\Dice\BasicDice;
6 5
 use MeadSteve\DiceApi\Dice;
7
-use MeadSteve\DiceApi\Dice\Factories\NumericDiceFactory;
8 6
 use MeadSteve\DiceApi\Dice\Factories\SpecialDiceFactory;
9
-use MeadSteve\DiceApi\Dice\UncreatableDiceException;
10 7
 use PhpSpec\ObjectBehavior;
11
-use Prophecy\Argument;
12 8
 
13 9
 class SpecialDiceFactorySpec extends ObjectBehavior
14 10
 {
Please login to merge, or discard this patch.
spec/Dice/FateDiceSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\MeadSteve\DiceApi\Dice;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class FateDiceSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function getMatchers(): array
26 26
     {
27 27
         return [
28
-            'beOneOf' => function ($value, $subject) {
28
+            'beOneOf' => function($value, $subject) {
29 29
                 return in_array($value, $subject);
30 30
             },
31 31
         ];
Please login to merge, or discard this patch.
spec/Dice/SteveDiceSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\MeadSteve\DiceApi\Dice;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class SteveDiceSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/Dice/ZeropointDiceSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\MeadSteve\DiceApi\Dice;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class ZeropointDiceSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/DiceDecorators/TotallyLegitSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use MeadSteve\DiceApi\Dice;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class TotallyLegitSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.