Passed
Push — master ( 7a0aab...f61a34 )
by Dawid
02:57
created
src/Service/SchemaValidator/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\SchemaValidator;
6 6
 
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                             ->cannotBeEmpty()
57 57
                             ->defaultValue('_method')
58 58
                             ->validate()
59
-                                ->ifTrue(function ($methodName): bool {
59
+                                ->ifTrue(function($methodName): bool {
60 60
                                     return !\is_string($methodName);
61 61
                                 })
62 62
                                 ->thenInvalid('Not a string provided')
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                             ->end()
79 79
                             ->beforeNormalization()
80 80
                                 ->ifArray()
81
-                                ->then(function (array $methods): array {
81
+                                ->then(function(array $methods): array {
82 82
                                     return array_unique(array_map('strtoupper', $methods));
83 83
                                 })
84 84
                             ->end()
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     protected function addApiVersionSupport(ArrayNodeDefinition $rootNode): void
122 122
     {
123
-        $versionNormalizer = static function ($version): string {
123
+        $versionNormalizer = static function($version): string {
124 124
             if (\is_string($version)) {
125 125
                 return $version;
126 126
             }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                                     ->end()
158 158
                                 ->end()
159 159
                                 ->beforeNormalization()
160
-                                    ->always(function ($prototypeValue): array {
160
+                                    ->always(function($prototypeValue): array {
161 161
                                         if (empty($prototypeValue)) {
162 162
                                             throw new \InvalidArgumentException('No version constraints provided');
163 163
                                         }
Please login to merge, or discard this patch.
src/Service/SchemaValidator/ValidationViolation.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\SchemaValidator;
6 6
 
Please login to merge, or discard this patch.
src/Service/ApiVersionProvider.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/EventListener/ApiVersionListener.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/Utils/ArrayUtils.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/Twig/DataCollectorExtension.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\Twig;
6 6
 
Please login to merge, or discard this patch.
src/DependencyInjection/Compiler/OverridingListenersSetupPass.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\DependencyInjection\Compiler;
6 6
 
Please login to merge, or discard this patch.
src/DependencyInjection/Utils.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\DependencyInjection;
6 6
 
Please login to merge, or discard this patch.