Completed
Push — 2.4.2-sftest ( 961255...11762f )
by
unknown
42s
created
src/SWP/Bundle/CoreBundle/Migrations/2021/01/Version20210112135542.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
                     $result['id']
94 94
                 );
95 95
             try {
96
-                 foreach ($legacyExtra as $key => $extraItem) {
96
+                    foreach ($legacyExtra as $key => $extraItem) {
97 97
                     if (is_array($extraItem)) {
98 98
                         $extra = ArticleExtraEmbedField::newFromValue($key, $extraItem);
99 99
                     } else {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                     $entityManager->persist($extra);
104 104
                 }
105 105
             } catch (\Throwable $e) {
106
-                echo ">>>> E: " . $e->getMessage() . "\n";
106
+                echo ">>>> E: ".$e->getMessage()."\n";
107 107
             }
108 108
 
109 109
                 ++$totalArticlesProcessed;
@@ -129,9 +129,9 @@  discard block
 block discarded – undo
129 129
         return $unserializedData;
130 130
     }
131 131
 
132
-    $callback = function ($matches) {
132
+    $callback = function($matches) {
133 133
         $matches[2] = trim(preg_replace('/\s\s+/', ' ', $matches[2]));
134
-        return 's:' . mb_strlen($matches[2]) . ':"' . $matches[2] . '";';
134
+        return 's:'.mb_strlen($matches[2]).':"'.$matches[2].'";';
135 135
     };
136 136
 
137 137
     // Check if $data is not null
Please login to merge, or discard this patch.