Passed
Push — master ( 32cbdc...ba6534 )
by Luca
03:12
created
src/EntityDecoder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
                     $entitytext .= $stopChar;
208 208
                     array_pop($openedEntities);
209 209
                     array_pop($openedEntities);
210
-                    if(empty($openedEntities))
210
+                    if (empty($openedEntities))
211 211
                     {
212 212
                         $entitiesArray[] = $entitytext;
213 213
                         $entitytext = "";
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
                     $stopChar = $this->getEntityStopString($stEntity);
219 219
                     $entitytext .= $stopChar;
220 220
                     array_pop($openedEntities);
221
-                    if(empty($openedEntities))
221
+                    if (empty($openedEntities))
222 222
                     {
223 223
                         $entitiesArray[] = $entitytext;
224 224
                         $entitytext = "";
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
             if ($entityCheckStart === false && $entityCheckStop === false)
229 229
             {
230 230
                 $isEntityOpen = !empty($openedEntities);
231
-                if($isEntityOpen)
231
+                if ($isEntityOpen)
232 232
                 {
233 233
                     $entitytext .= $this->escapeSpecialChars($arrayText[$i]['char'], $isEntityOpen, $openedEntities);
234 234
                 }
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
                     break;
351 351
                 }
352 352
             }
353
-            if($isBlockquoteOpen && $char == "\n")
353
+            if ($isBlockquoteOpen && $char == "\n")
354 354
             {
355 355
                 return $char.'>';
356 356
             }
Please login to merge, or discard this patch.