Completed
Push — master ( 349353...96ed13 )
by Douglas
02:37
created
src/Reith/ToyRobot/Infrastructure/Persistence/RobotRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     private $store;
20 20
 
21 21
     /**
22
-     * @param RobotStoreInterface $file
23 22
      */
24 23
     public function __construct(RobotStoreInterface $store)
25 24
     {
Please login to merge, or discard this patch.
src/Reith/ToyRobot/Console/Report.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Symfony\Component\Console\Command\Command;
14 14
 use Symfony\Component\Console\Input\InputInterface;
15 15
 use Symfony\Component\Console\Output\OutputInterface;
16
-use Symfony\Component\Console\Input\InputArgument;
17 16
 use Reith\ToyRobot\Messaging\Query\RobotReport;
18 17
 
19 18
 class Report extends Command
Please login to merge, or discard this patch.
src/Reith/ToyRobot/CommandHandler/RobotPlacer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use MathPHP\LinearAlgebra\Vector;
14 14
 use Psr\Log\LoggerInterface;
15 15
 use Reith\ToyRobot\Domain\Robot\RobotRepositoryInterface;
16
-use Reith\ToyRobot\Domain\Robot\Place;
17 16
 use Reith\ToyRobot\Domain\Space\SpaceInterface;
18 17
 use Reith\ToyRobot\Messaging\Command\PlaceRobot;
19 18
 use Reith\ToyRobot\Messaging\Annotation\Subscribe;
Please login to merge, or discard this patch.
src/Reith/ToyRobot/Domain/Space/AbstractSymmetricSpace.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @return Vector
37
+     * @return Vector[]
38 38
      */
39 39
     protected function defaultPosition(): Vector
40 40
     {
@@ -58,7 +58,6 @@  discard block
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @param Vector $place
62 61
      *
63 62
      * @return bool
64 63
      *
@@ -112,7 +111,7 @@  discard block
 block discarded – undo
112 111
      * For all the places passed, ensure they are of the same
113 112
      * dimensionality.
114 113
      *
115
-     * @param Vector $vectors ... Vectors to check
114
+     * @param Vector[] $vectors ... Vectors to check
116 115
      *
117 116
      * @throws PlaceDimensionsDoNotMatchSpaceException
118 117
      */
Please login to merge, or discard this patch.
src/Reith/ToyRobot/CommandHandler/RobotMover.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,9 @@
 block discarded – undo
10 10
 
11 11
 namespace Reith\ToyRobot\CommandHandler;
12 12
 
13
-use MathPHP\LinearAlgebra\Vector;
14 13
 use Psr\Log\LoggerInterface;
15 14
 use Reith\ToyRobot\Domain\Robot\RobotRepositoryInterface;
16 15
 use Reith\ToyRobot\Domain\Robot\Robot;
17
-
18 16
 use Reith\ToyRobot\Messaging\Annotation\Subscribe;
19 17
 use Reith\ToyRobot\Messaging\Command\TurnLeft;
20 18
 use Reith\ToyRobot\Messaging\Command\TurnRight;
Please login to merge, or discard this patch.
src/Reith/ToyRobot/Console/Left.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Symfony\Component\Console\Command\Command;
14 14
 use Symfony\Component\Console\Input\InputInterface;
15 15
 use Symfony\Component\Console\Output\OutputInterface;
16
-use Symfony\Component\Console\Input\InputArgument;
17 16
 use Reith\ToyRobot\Messaging\Command\TurnLeft;
18 17
 
19 18
 class Left extends Command
Please login to merge, or discard this patch.
src/Reith/ToyRobot/Console/Move.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Symfony\Component\Console\Command\Command;
14 14
 use Symfony\Component\Console\Input\InputInterface;
15 15
 use Symfony\Component\Console\Output\OutputInterface;
16
-use Symfony\Component\Console\Input\InputArgument;
17 16
 use Reith\ToyRobot\Messaging\Command\MoveForward;
18 17
 
19 18
 class Move extends Command
Please login to merge, or discard this patch.
src/Reith/ToyRobot/Console/Right.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Symfony\Component\Console\Command\Command;
14 14
 use Symfony\Component\Console\Input\InputInterface;
15 15
 use Symfony\Component\Console\Output\OutputInterface;
16
-use Symfony\Component\Console\Input\InputArgument;
17 16
 use Reith\ToyRobot\Messaging\Command\TurnRight;
18 17
 
19 18
 class Right extends Command
Please login to merge, or discard this patch.
src/Reith/ToyRobot/Domain/Robot/Robot.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use MathPHP\LinearAlgebra\Vector;
14 14
 use Assert\Assert;
15
-use Assert\Assertion;
16 15
 use Reith\ToyRobot\Domain\Space\SpaceInterface;
17 16
 use Reith\ToyRobot\Domain\Robot\Exception\NotPlacedInSpaceException;
18 17
 
Please login to merge, or discard this patch.