Completed
Push — master ( 0b7273...69a9c3 )
by Dawid
09:25
created
src/Service/SchemaValidator/AbstractSchemaValidatorFactory.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/SchemaValidator/XmlSchemaValidatorFactory.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/SchemaValidator/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\SchemaValidator;
6 6
 
Please login to merge, or discard this patch.
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/Annotation/Controller/ControllerAnnotationExtractorTrait.php 1 patch
Spacing   +4 added lines, -4 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 Spiechu\SymfonyCommonsBundle\Annotation\Controller;
6 6
 
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      *
17 17
      * @return null|object
18 18
      */
19
-    protected function getClassAnnotationFromController(?callable $controller, string $annotationClass)
19
+    protected function getClassAnnotationFromController(? callable $controller, string $annotationClass)
20 20
     {
21 21
         $objectToReflect = $this->getObjectToReflect($controller);
22 22
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @return null|object
36 36
      */
37
-    protected function getMethodAnnotationFromController(?callable $controller, string $annotationClass)
37
+    protected function getMethodAnnotationFromController(? callable $controller, string $annotationClass)
38 38
     {
39 39
         if (\is_array($controller)
40 40
             && isset($controller[1])
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @return null|object
54 54
      */
55
-    protected function getObjectToReflect(?callable $controller)
55
+    protected function getObjectToReflect(? callable $controller)
56 56
     {
57 57
         if (\is_object($controller)) {
58 58
             return $controller;
Please login to merge, or discard this patch.