Test Failed
Push — master ( 810670...0a801e )
by Martin
02:32
created
src/Application/Task/Command.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     /**
113 113
      * Redo Task
114 114
      *
115
-     * @param string $task Task ID
115
+     * @param string $taskId Task ID
116 116
      *
117 117
      * @return Task
118 118
      * @throws TaskNotFoundException
Please login to merge, or discard this patch.
src/Web/FrontendBundle/Controller/TaskController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      * @Route("/{taskId}/updateStatus/{taskStatus}",name="task.updateStatus")
138 138
      * @Method({"GET"})
139 139
      *
140
-     * @return array
140
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
141 141
      * @throws \Exception
142 142
      */
143 143
     public function updateStatusAction(
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      * @Route("/{taskId}/delete",name="task.delete")
194 194
      * @Method({"GET"})
195 195
      *
196
-     * @return array
196
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
197 197
      * @throws TaskNotFoundException
198 198
      * @throws TaskCannotBeRemovedException
199 199
      */
Please login to merge, or discard this 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.