Code Duplication    Length = 3-3 lines in 2 locations

src/Json5Decoder.php 2 locations

@@ 271-273 (lines=3) @@
268
        switch ($base) {
269
            case 10:
270
                // @codingStandardsIgnoreStart
271
                if ((is_numeric($this->currentByte) || $this->currentByte === '.') && ($match = $this->match('/^\d*\.?\d*/')) !== null) {
272
                    $string .= $match;
273
                }
274
                if (($this->currentByte === 'E' || $this->currentByte === 'e') && ($match = $this->match('/^[Ee][-+]?\d*/')) !== null) {
275
                    $string .= $match;
276
                }
@@ 274-276 (lines=3) @@
271
                if ((is_numeric($this->currentByte) || $this->currentByte === '.') && ($match = $this->match('/^\d*\.?\d*/')) !== null) {
272
                    $string .= $match;
273
                }
274
                if (($this->currentByte === 'E' || $this->currentByte === 'e') && ($match = $this->match('/^[Ee][-+]?\d*/')) !== null) {
275
                    $string .= $match;
276
                }
277
                // @codingStandardsIgnoreEnd
278
                $number = $string;
279
                break;