Completed
Pull Request — master (#673)
by Asmir
10:06
created
src/JMS/Serializer/Metadata/Driver/XmlDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
                     }
141 141
 
142 142
                     if (null !== $excludeIf = $pElem->attributes()->{'exclude-if'}) {
143
-                        $pMetadata->excludeIfExpression =$excludeIf;
143
+                        $pMetadata->excludeIfExpression = $excludeIf;
144 144
                     }
145 145
 
146 146
                     if (null !== $version = $pElem->attributes()->{'since-version'}) {
Please login to merge, or discard this patch.
src/JMS/Serializer/Metadata/PropertyMetadata.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,13 +169,13 @@
 block discarded – undo
169 169
             $parentStr
170 170
         ) = $unserialized;
171 171
 
172
-        if (isset($unserialized['xmlEntryNamespace'])){
172
+        if (isset($unserialized['xmlEntryNamespace'])) {
173 173
             $this->xmlEntryNamespace = $unserialized['xmlEntryNamespace'];
174 174
         }
175
-        if (isset($unserialized['xmlCollectionSkipWhenEmpty'])){
175
+        if (isset($unserialized['xmlCollectionSkipWhenEmpty'])) {
176 176
             $this->xmlCollectionSkipWhenEmpty = $unserialized['xmlCollectionSkipWhenEmpty'];
177 177
         }
178
-        if (isset($unserialized['excludeIfExpression'])){
178
+        if (isset($unserialized['excludeIfExpression'])) {
179 179
             $this->excludeIfExpression = $unserialized['excludeIfExpression'];
180 180
         }
181 181
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,13 +169,13 @@
 block discarded – undo
169 169
             $parentStr
170 170
         ) = $unserialized;
171 171
 
172
-        if (isset($unserialized['xmlEntryNamespace'])){
172
+        if (isset($unserialized['xmlEntryNamespace'])) {
173 173
             $this->xmlEntryNamespace = $unserialized['xmlEntryNamespace'];
174 174
         }
175
-        if (isset($unserialized['xmlCollectionSkipWhenEmpty'])){
175
+        if (isset($unserialized['xmlCollectionSkipWhenEmpty'])) {
176 176
             $this->xmlCollectionSkipWhenEmpty = $unserialized['xmlCollectionSkipWhenEmpty'];
177 177
         }
178
-        if (isset($unserialized['excludeIfExpression'])){
178
+        if (isset($unserialized['excludeIfExpression'])) {
179 179
             $this->excludeIfExpression = $unserialized['excludeIfExpression'];
180 180
         }
181 181
 
Please login to merge, or discard this patch.
src/JMS/Serializer/SerializerBuilder.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@
 block discarded – undo
432 432
             $this->eventDispatcher
433 433
         );
434 434
 
435
-        if (null !== $this->expressionEvaluator){
435
+        if (null !== $this->expressionEvaluator) {
436 436
             $serializer->setExpressionEvaluator($this->expressionEvaluator);
437 437
         }
438 438
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@
 block discarded – undo
432 432
             $this->eventDispatcher
433 433
         );
434 434
 
435
-        if (null !== $this->expressionEvaluator){
435
+        if (null !== $this->expressionEvaluator) {
436 436
             $serializer->setExpressionEvaluator($this->expressionEvaluator);
437 437
         }
438 438
 
Please login to merge, or discard this patch.