Test Failed
Push — master ( 810670...0a801e )
by Martin
02:32
created
var/SymfonyRequirements.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      * Adds a mandatory requirement in form of a php.ini configuration.
224 224
      *
225 225
      * @param string        $cfgName           The configuration name used for ini_get()
226
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
226
+     * @param boolean|string $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
227 227
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
228 228
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
229 229
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      * Adds an optional recommendation in form of a php.ini configuration.
242 242
      *
243 243
      * @param string        $cfgName           The configuration name used for ini_get()
244
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
244
+     * @param string|false $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
245 245
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
246 246
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
247 247
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
Please login to merge, or discard this patch.
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.