Code Duplication    Length = 46-46 lines in 2 locations

src/Parser/Parser.php 2 locations

@@ 1325-1370 (lines=46) @@
1322
            $_value68 = array();
1323
            $_cut69 = $this->cut;
1324
1325
            while (true) {
1326
                $_position67 = $this->position;
1327
1328
                $this->cut = false;
1329
                $_value66 = array();
1330
1331
                $_position64 = $this->position;
1332
                $_cut65 = $this->cut;
1333
1334
                $this->cut = false;
1335
                $_success = $this->parseCODE_END();
1336
1337
                if (!$_success) {
1338
                    $_success = true;
1339
                    $this->value = null;
1340
                } else {
1341
                    $_success = false;
1342
                }
1343
1344
                $this->position = $_position64;
1345
                $this->cut = $_cut65;
1346
1347
                if ($_success) {
1348
                    $_value66[] = $this->value;
1349
1350
                    if ($this->position < strlen($this->string)) {
1351
                        $_success = true;
1352
                        $this->value = substr($this->string, $this->position, 1);
1353
                        $this->position += 1;
1354
                    } else {
1355
                        $_success = false;
1356
                    }
1357
                }
1358
1359
                if ($_success) {
1360
                    $_value66[] = $this->value;
1361
1362
                    $this->value = $_value66;
1363
                }
1364
1365
                if (!$_success) {
1366
                    break;
1367
                }
1368
1369
                $_value68[] = $this->value;
1370
            }
1371
1372
            if (!$this->cut) {
1373
                $_success = true;
@@ 1608-1653 (lines=46) @@
1605
        $_value83 = array();
1606
        $_cut84 = $this->cut;
1607
1608
        while (true) {
1609
            $_position82 = $this->position;
1610
1611
            $this->cut = false;
1612
            $_value81 = array();
1613
1614
            $_position79 = $this->position;
1615
            $_cut80 = $this->cut;
1616
1617
            $this->cut = false;
1618
            $_success = $this->parseEOL();
1619
1620
            if (!$_success) {
1621
                $_success = true;
1622
                $this->value = null;
1623
            } else {
1624
                $_success = false;
1625
            }
1626
1627
            $this->position = $_position79;
1628
            $this->cut = $_cut80;
1629
1630
            if ($_success) {
1631
                $_value81[] = $this->value;
1632
1633
                if ($this->position < strlen($this->string)) {
1634
                    $_success = true;
1635
                    $this->value = substr($this->string, $this->position, 1);
1636
                    $this->position += 1;
1637
                } else {
1638
                    $_success = false;
1639
                }
1640
            }
1641
1642
            if ($_success) {
1643
                $_value81[] = $this->value;
1644
1645
                $this->value = $_value81;
1646
            }
1647
1648
            if (!$_success) {
1649
                break;
1650
            }
1651
1652
            $_value83[] = $this->value;
1653
        }
1654
1655
        if (!$this->cut) {
1656
            $_success = true;