Test Failed
Push — master ( ff7c45...dfacfc )
by Martin
04:28
created
laravel/config/database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
         'sqlite' => [
37 37
             'driver' => 'sqlite',
38
-            'database' => dirname(__DIR__) . '/' . env('DB_DATABASE'),
38
+            'database' => dirname(__DIR__).'/'.env('DB_DATABASE'),
39 39
             'prefix' => '',
40 40
         ],
41 41
 
Please login to merge, or discard this patch.
laravel/app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
symfony/src/Cli/CliBundle/Command/TaskCreateCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         try {
92 92
             $task = $this->taskCommand->addNewTask($name);
93 93
 
94
-            $output->writeln('Task created with #' . $task->getId());
94
+            $output->writeln('Task created with #'.$task->getId());
95 95
         } catch (TaskNameIsEmptyException | TaskNameIsAlreadyExistedException | TaskCannotBeSavedException $e) {
96 96
             throw $e;
97 97
         }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Symfony\Component\Console\Exception\LogicException;
8 8
 use Symfony\Component\Console\Input\InputArgument;
9 9
 use Symfony\Component\Console\Input\InputInterface;
10
-use Symfony\Component\Console\Input\InputOption;
11 10
 use Symfony\Component\Console\Output\OutputInterface;
12 11
 use Todo\Application\Task\Command;
13 12
 use Todo\Application\Task\Exception\TaskCannotBeSavedException;
Please login to merge, or discard this patch.
symfony/src/Cli/CliBundle/Command/TaskListCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         /** @var Task $task */
87 87
         foreach ($remainingTasks as $task) {
88
-            $output->writeln($task->getId() . ' - ' . $task->getName() . '');
88
+            $output->writeln($task->getId().' - '.$task->getName().'');
89 89
         }
90 90
 
91 91
         $output->writeln('');
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $completedTasks = $this->taskQuery->getAllCompletedTasks();
96 96
 
97 97
         foreach ($completedTasks as $task) {
98
-            $output->writeln($task->getId() . ' - ' . $task->getName());
98
+            $output->writeln($task->getId().' - '.$task->getName());
99 99
         }
100 100
     }
101 101
 
Please login to merge, or discard this patch.
symfony/tests/_support/AcceptanceTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\AcceptanceTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
     /**
27 27
      * @Given There is no task named :arg1
28 28
      */
Please login to merge, or discard this patch.
symfony/src/Cli/CliBundle/Command/TaskCompleteCommand.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,12 +7,9 @@
 block discarded – undo
7 7
 use Symfony\Component\Console\Exception\LogicException;
8 8
 use Symfony\Component\Console\Input\InputArgument;
9 9
 use Symfony\Component\Console\Input\InputInterface;
10
-use Symfony\Component\Console\Input\InputOption;
11 10
 use Symfony\Component\Console\Output\OutputInterface;
12 11
 use Todo\Application\Task\Command;
13 12
 use Todo\Application\Task\Exception\TaskCannotBeSavedException;
14
-use Todo\Domain\Exception\TaskNameIsAlreadyExistedException;
15
-use Todo\Domain\Exception\TaskNameIsEmptyException;
16 13
 use Todo\Domain\Exception\TaskNotFoundException;
17 14
 
18 15
 /**
Please login to merge, or discard this patch.
symfony/src/Cli/CliBundle/Command/TaskRedoCommand.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,12 +7,9 @@
 block discarded – undo
7 7
 use Symfony\Component\Console\Exception\LogicException;
8 8
 use Symfony\Component\Console\Input\InputArgument;
9 9
 use Symfony\Component\Console\Input\InputInterface;
10
-use Symfony\Component\Console\Input\InputOption;
11 10
 use Symfony\Component\Console\Output\OutputInterface;
12 11
 use Todo\Application\Task\Command;
13 12
 use Todo\Application\Task\Exception\TaskCannotBeSavedException;
14
-use Todo\Domain\Exception\TaskNameIsAlreadyExistedException;
15
-use Todo\Domain\Exception\TaskNameIsEmptyException;
16 13
 use Todo\Domain\Exception\TaskNotFoundException;
17 14
 
18 15
 /**
Please login to merge, or discard this patch.
symfony/src/Cli/CliBundle/Command/TaskUpdateCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Symfony\Component\Console\Exception\LogicException;
8 8
 use Symfony\Component\Console\Input\InputArgument;
9 9
 use Symfony\Component\Console\Input\InputInterface;
10
-use Symfony\Component\Console\Input\InputOption;
11 10
 use Symfony\Component\Console\Output\OutputInterface;
12 11
 use Todo\Application\Task\Command;
13 12
 use Todo\Application\Task\Exception\TaskCannotBeSavedException;
Please login to merge, or discard this patch.
vendor/composer/ClassLoader.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -341,6 +341,10 @@
 block discarded – undo
341 341
         return $file;
342 342
     }
343 343
 
344
+    /**
345
+     * @param string $class
346
+     * @param string $ext
347
+     */
344 348
     private function findFileWithExtension($class, $ext)
345 349
     {
346 350
         // PSR-4 lookup
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -344,14 +344,14 @@  discard block
 block discarded – undo
344 344
     private function findFileWithExtension($class, $ext)
345 345
     {
346 346
         // PSR-4 lookup
347
-        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
347
+        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR).$ext;
348 348
 
349 349
         $first = $class[0];
350 350
         if (isset($this->prefixLengthsPsr4[$first])) {
351 351
             foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
352 352
                 if (0 === strpos($class, $prefix)) {
353 353
                     foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
354
-                        if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
354
+                        if (file_exists($file = $dir.DIRECTORY_SEPARATOR.substr($logicalPathPsr4, $length))) {
355 355
                             return $file;
356 356
                         }
357 357
                     }
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
 
362 362
         // PSR-4 fallback dirs
363 363
         foreach ($this->fallbackDirsPsr4 as $dir) {
364
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
364
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr4)) {
365 365
                 return $file;
366 366
             }
367 367
         }
@@ -373,14 +373,14 @@  discard block
 block discarded – undo
373 373
                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
374 374
         } else {
375 375
             // PEAR-like class name
376
-            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
376
+            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR).$ext;
377 377
         }
378 378
 
379 379
         if (isset($this->prefixesPsr0[$first])) {
380 380
             foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
381 381
                 if (0 === strpos($class, $prefix)) {
382 382
                     foreach ($dirs as $dir) {
383
-                        if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
383
+                        if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
384 384
                             return $file;
385 385
                         }
386 386
                     }
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
 
391 391
         // PSR-0 fallback dirs
392 392
         foreach ($this->fallbackDirsPsr0 as $dir) {
393
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
393
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
394 394
                 return $file;
395 395
             }
396 396
         }
Please login to merge, or discard this patch.