Passed
Branch master (df2ee3)
by Dawid
07:19 queued 02:10
created
src/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                             ->cannotBeEmpty()
43 43
                             ->defaultValue('_method')
44 44
                             ->validate()
45
-                                ->ifTrue(function ($methodName): bool {
45
+                                ->ifTrue(function($methodName): bool {
46 46
                                     return !is_string($methodName);
47 47
                                 })
48 48
                                 ->thenInvalid('Not a string provided')
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
                             ->end()
65 65
                             ->beforeNormalization()
66 66
                                 ->ifArray()
67
-                                ->then(function (array $methods): array {
67
+                                ->then(function(array $methods): array {
68 68
                                     return array_unique(array_map('strtoupper', $methods));
69 69
                                 })
70 70
                             ->end()
Please login to merge, or discard this patch.
src/Annotation/Controller/ResponseSchemaValidator.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 Spiechu\SymfonyCommonsBundle\Annotation\Controller;
6 6
 
Please login to merge, or discard this patch.
src/Utils/ArrayUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\Utils;
6 6
 
7 7
 class ArrayUtils
8 8
 {
9
-    public static function flatArrayRecursive(?array $array): array
9
+    public static function flatArrayRecursive(? array $array) : array
10 10
     {
11 11
         if (empty($array)) {
12 12
             return [];
Please login to merge, or discard this patch.
src/Utils/StringUtils.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 Spiechu\SymfonyCommonsBundle\Utils;
6 6
 
Please login to merge, or discard this patch.
src/EventListener/JsonCheckSchemaSubscriber.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 Spiechu\SymfonyCommonsBundle\EventListener;
6 6
 
Please login to merge, or discard this patch.
src/Service/ValidationResult.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 Spiechu\SymfonyCommonsBundle\Service;
6 6
 
Please login to merge, or discard this patch.
src/Event/ResponseSchemaCheck/CheckRequest.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 Spiechu\SymfonyCommonsBundle\Event\ResponseSchemaCheck;
6 6
 
Please login to merge, or discard this patch.
src/Service/JsonSchemaValidatorFactory.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 Spiechu\SymfonyCommonsBundle\Service;
6 6
 
Please login to merge, or discard this patch.
src/Service/JsonSchemaValidator.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 Spiechu\SymfonyCommonsBundle\Service;
6 6
 
Please login to merge, or discard this patch.