Passed
Push — master ( 783d3e...cfd8c6 )
by Martin
02:33
created
src/Web/FrontendBundle/Controller/TaskController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,6 @@
 block discarded – undo
14 14
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
15 15
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
16 16
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
17
-use Todo\Domain\Exception\TaskNameIsAlreadyExistedException;
18
-use Todo\Domain\Exception\TaskNameIsEmptyException;
19 17
 use Todo\Domain\Exception\TaskNotFoundException;
20 18
 use Todo\Domain\Task;
21 19
 use Todo\Web\FrontendBundle\Form\CreateTaskForm;
Please login to merge, or discard this patch.
src/Cli/CliBundle/Command/TaskListCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         /** @var Task $task */
86 86
         foreach ($remainingTasks as $task) {
87
-            $output->writeln(' - ' . $task->getName() . '');
87
+            $output->writeln(' - '.$task->getName().'');
88 88
         }
89 89
 
90 90
         $output->writeln('');
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         $completedTasks = $this->taskQuery->getAllCompletedTasks();
95 95
 
96 96
         foreach ($completedTasks as $task) {
97
-            $output->writeln(' - ' . $task->getName());
97
+            $output->writeln(' - '.$task->getName());
98 98
         }
99 99
     }
100 100
 
Please login to merge, or discard this patch.