Code Duplication    Length = 46-46 lines in 2 locations

src/Parser/Parser.php 2 locations

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