Passed
Push — master ( 4f8f39...eb7dd8 )
by David
01:55
created
src/Tools/Console/Command/ShortestPathGraphicalTestCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     protected function execute(InputInterface $input, OutputInterface $output)
38 38
     {
39 39
         /** @var Warehouse $warehouse */
40
-        $warehouse = Warehouse::createFromJson(getcwd() . "/../resources/biggerWarehouse.json");
40
+        $warehouse = Warehouse::createFromJson(getcwd()."/../resources/biggerWarehouse.json");
41 41
         $calculatedArray = $warehouse->getPlaces();
42 42
 
43 43
         $warehouse->setPathCalculator(new ShortPathCalculator());
Please login to merge, or discard this patch.
src/Tools/Console/Command/GraphicalTestCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function execute(InputInterface $input, OutputInterface $output)
35 35
     {
36
-        $warehouse = Warehouse::createFromJson(getcwd() . "/resources/biggerWarehouse.json");
36
+        $warehouse = Warehouse::createFromJson(getcwd()."/resources/biggerWarehouse.json");
37 37
 
38 38
         /** @var Place $nodeStart */
39 39
         $nodeStart = $warehouse->getPlaces()[5];
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
         $table->setRows($calculatedMatrix);
49 49
         $table->render();
50 50
 
51
-        $output->writeln("Start: " . $nodeStart->getName());
52
-        $output->writeln("End: " . $nodeEnd->getName());
53
-        $output->writeln("Total path: " . $nodeEnd->getCurrentWeight());
51
+        $output->writeln("Start: ".$nodeStart->getName());
52
+        $output->writeln("End: ".$nodeEnd->getName());
53
+        $output->writeln("Total path: ".$nodeEnd->getCurrentWeight());
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
src/Tools/Console/Command/MultiplePathGraphicalTestCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     protected function execute(InputInterface $input, OutputInterface $output)
37 37
     {
38 38
         /** @var Warehouse $warehouse */
39
-        $warehouse = Warehouse::createFromJson(getcwd() . "/../resources/biggerWarehouse.json");
39
+        $warehouse = Warehouse::createFromJson(getcwd()."/../resources/biggerWarehouse.json");
40 40
         $calculatedArray = $warehouse->getPlaces();
41 41
 
42 42
         $warehouse->setPathCalculator(new FastCalculator());
Please login to merge, or discard this patch.