Passed
Pull Request — master (#928)
by Gabriel
03:30 queued 01:04
created
src/Handler/FormErrorHandler.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
     private function getErrorMessage(FormError $error)
123 123
     {
124 124
 
125
-        if ($this->translator === null){
125
+        if ($this->translator === null) {
126 126
             return $error->getMessage();
127 127
         }
128 128
 
Please login to merge, or discard this patch.
src/Serializer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,7 @@
 block discarded – undo
95 95
         ExpressionEvaluatorInterface $expressionEvaluator = null,
96 96
         SerializationContextFactoryInterface $serializationContextFactory = null,
97 97
         DeserializationContextFactoryInterface $deserializationContextFactory = null
98
-    )
99
-    {
98
+    ) {
100 99
         $this->factory = $factory;
101 100
         $this->handlerRegistry = $handlerRegistry;
102 101
         $this->objectConstructor = $objectConstructor;
Please login to merge, or discard this patch.
src/Handler/DateHandler.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@  discard block
 block discarded – undo
73 73
         \DateTimeInterface $date,
74 74
         array $type,
75 75
         SerializationContext $context
76
-    )
77
-    {
76
+    ) {
78 77
         if ($visitor instanceof XmlSerializationVisitor && false === $this->xmlCData) {
79 78
             return $visitor->visitSimpleString($date->format($this->getFormat($type)), $type);
80 79
         }
@@ -97,8 +96,7 @@  discard block
 block discarded – undo
97 96
         \DateTimeImmutable $date,
98 97
         array $type,
99 98
         SerializationContext $context
100
-    )
101
-    {
99
+    ) {
102 100
         return $this->serializeDateTimeInterface($visitor, $date, $type, $context);
103 101
     }
104 102
 
Please login to merge, or discard this patch.
src/SerializationGraphNavigator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@
 block discarded – undo
68 68
         AccessorStrategyInterface $accessor,
69 69
         EventDispatcherInterface $dispatcher = null,
70 70
         ExpressionEvaluatorInterface $expressionEvaluator = null
71
-    )
72
-    {
71
+    ) {
73 72
         $this->dispatcher = $dispatcher ?: new EventDispatcher();
74 73
         $this->metadataFactory = $metadataFactory;
75 74
         $this->handlerRegistry = $handlerRegistry;
Please login to merge, or discard this patch.
src/DeserializationGraphNavigator.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
                     try {
190 190
                         $v = $this->visitor->visitProperty($propertyMetadata, $data);
191 191
                         $this->accessor->setValue($object, $v, $propertyMetadata);
192
-                    }catch (NotAcceptableException $e){
192
+                    } catch (NotAcceptableException $e) {
193 193
 
194 194
                     }
195 195
                     $this->context->popPropertyMetadata();
Please login to merge, or discard this patch.