Test Failed
Push — master ( a72aaf...813e38 )
by Dominik
03:05
created
config/config_test.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-     'settings' => [
4
+        'settings' => [
5 5
         'displayErrorDetails' => true,
6 6
         'routerCacheFile' => false,
7 7
     ],
Please login to merge, or discard this patch.
app/ApiHttp/ResponseFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\ApiHttp;
6 6
 
Please login to merge, or discard this patch.
app/schema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton;
6 6
 
Please login to merge, or discard this patch.
app/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 if (!$loader = @include __DIR__.'/../vendor/autoload.php') {
6 6
     die('curl -s http://getcomposer.org/installer | php; php composer.phar install');
Please login to merge, or discard this patch.
app/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 );
34 34
 
35 35
 // slim settings
36
-$container->extend('settings', function (Collection $settings) use ($config) {
36
+$container->extend('settings', function(Collection $settings) use ($config) {
37 37
     $settings->replace($config['settings']);
38 38
 
39 39
     return $settings;
Please login to merge, or discard this patch.
app/Repository/AbstractRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Repository;
6 6
 
Please login to merge, or discard this patch.
app/Controller/IndexController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Controller;
6 6
 
Please login to merge, or discard this patch.
app/Error/ErrorManager.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Error;
6 6
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function createByValidationErrors(array $errors, string $locale, string $scope, string $type): Error
51 51
     {
52
-        $nestedErrorMessage = new NestedErrorMessages($errors, function (string $key, array $arguments) use ($locale) {
52
+        $nestedErrorMessage = new NestedErrorMessages($errors, function(string $key, array $arguments) use ($locale) {
53 53
             return $this->translator->translate($locale, $key, $arguments);
54 54
         });
55 55
 
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,12 +70,12 @@
 block discarded – undo
70 70
      */
71 71
     public function createNotParsable(string $type, string $contentType, string $body): Error
72 72
     {
73
-         return new Error(
73
+            return new Error(
74 74
             Error::SCOPE_BODY,
75 75
             'notparsable',
76 76
             'request body not parsable',
77 77
             $type,
78 78
             ['body' => $body, 'contentType' => $contentType]
79
-         );
79
+            );
80 80
     }
81 81
 }
Please login to merge, or discard this patch.
app/Error/Error.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Error;
6 6
 
Please login to merge, or discard this patch.