Passed
Push — master ( f3fa92...524f76 )
by Paul
02:03
created
src/Transformer/AbstractSerializerTransformer.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 CCT\Component\Rest\Transformer;
6 6
 
Please login to merge, or discard this patch.
src/Http/Definition/QueryParams.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 CCT\Component\Rest\Http\Definition;
6 6
 
Please login to merge, or discard this patch.
src/Http/ResponseInterface.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 CCT\Component\Rest\Http;
6 6
 
Please login to merge, or discard this patch.
src/Helper/ObjectConstructor.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 CCT\Component\Rest\Helper;
6 6
 
Please login to merge, or discard this patch.
src/AbstractClient.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 CCT\Component\Rest;
6 6
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      */
131 131
     protected function shouldUseDefaultResponseTransformers(): bool
132 132
     {
133
-        return (bool)$this->config->get(Config::USE_DEFAULT_RESPONSE_TRANSFORMERS, true);
133
+        return (bool) $this->config->get(Config::USE_DEFAULT_RESPONSE_TRANSFORMERS, true);
134 134
     }
135 135
 
136 136
     protected function applyDefaultResponseTransformers(Config $config, SerializerInterface $serializer, $modelClass)
Please login to merge, or discard this patch.
src/EventListener/DeserializeExtraFieldsSubscriber.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 CCT\Component\Rest\EventListener;
6 6
 
Please login to merge, or discard this patch.
src/Exception/ServiceUnavailableException.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 CCT\Component\Rest\Exception;
6 6
 
Please login to merge, or discard this patch.
src/Model/Structure/ExtraFieldsTrait.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 CCT\Component\Rest\Model\Structure;
6 6
 
Please login to merge, or discard this patch.
src/Serializer/JMSSerializerBuilder.php 1 patch
Spacing   +3 added lines, -3 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 CCT\Component\Rest\Serializer;
6 6
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
         }
139 139
 
140 140
         $eventSubscribers = $this->config->get(Config::EVENT_SUBSCRIBERS, []);
141
-        $this->jmsSerializerBuilder->configureListeners(function (EventDispatcher $dispatcher) use ($eventSubscribers) {
141
+        $this->jmsSerializerBuilder->configureListeners(function(EventDispatcher $dispatcher) use ($eventSubscribers) {
142 142
             foreach ($eventSubscribers as $eventSubscriber) {
143 143
                 $dispatcher->addSubscriber($eventSubscriber);
144 144
             }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
         $serializationHandlers = $this->config->get(Config::SERIALIZATION_HANDLERS, []);
148 148
         $this->jmsSerializerBuilder->configureHandlers(
149
-            function (HandlerRegistry $handlerRegistry) use ($serializationHandlers) {
149
+            function(HandlerRegistry $handlerRegistry) use ($serializationHandlers) {
150 150
                 foreach ($serializationHandlers as $handler) {
151 151
                     $handlerRegistry->registerSubscribingHandler($handler);
152 152
                 }
Please login to merge, or discard this patch.