Test Setup Failed
Branch master (462e2a)
by Бабичев
02:41
created
src/Lexer/Lexer.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -240,8 +240,7 @@  discard block
 block discarded – undo
240 240
                 $isOpen = true;
241 241
                 $type  = $open[$lastChar . $data];
242 242
                 $print = $this->prints[$type];
243
-            }
244
-            else if (isset($close[$index]))
243
+            } else if (isset($close[$index]))
245 244
             {
246 245
                 if ($dot)
247 246
                 {
@@ -278,16 +277,14 @@  discard block
 block discarded – undo
278 277
                 $type  = null;
279 278
                 $last  = null;
280 279
                 $code  = '';
281
-            }
282
-            else if ($type)
280
+            } else if ($type)
283 281
             {
284 282
                 if ($end[$type] !== $data)
285 283
                 {
286 284
                     if ($this->last($last, $data, '('))
287 285
                     {
288 286
                         $last->type = \T_FUNCTION;
289
-                    }
290
-                    else if ($this->last($last, $data, '.') || $dot)
287
+                    } else if ($this->last($last, $data, '.') || $dot)
291 288
                     {
292 289
                         $dot         = !$dot;
293 290
                         $last->token .= $data;
@@ -296,8 +293,7 @@  discard block
 block discarded – undo
296 293
                     }
297 294
 
298 295
                     $mixed[] = $last = new Token($data, $_type);
299
-                }
300
-                else
296
+                } else
301 297
                 {
302 298
                     $_next = $queue->next();
303 299
 
Please login to merge, or discard this patch.