Code Duplication    Length = 5-8 lines in 2 locations

src/Utils/BufferedQuery.php 2 locations

@@ 217-224 (lines=8) @@
214
                }
215
                $this->current .= $this->query[$i];
216
                continue;
217
            } elseif ($this->status === static::STATUS_STRING_DOUBLE_QUOTES) {
218
                // Double-quoted strings like "bar".
219
                if ($this->query[$i] === '"') {
220
                    $this->status = 0;
221
                }
222
                $this->current .= $this->query[$i];
223
                continue;
224
            } elseif ($this->status === static::STATUS_STRING_BACKTICK) {
225
                if ($this->query[$i] === '`') {
226
                    $this->status = 0;
227
                }
@@ 253-257 (lines=5) @@
250
                $this->status = static::STATUS_STRING_SINGLE_QUOTES;
251
                $this->current .= $this->query[$i];
252
                continue;
253
            } elseif ($this->query[$i] === '"') {
254
                $this->status = static::STATUS_STRING_DOUBLE_QUOTES;
255
                $this->current .= $this->query[$i];
256
                continue;
257
            } elseif ($this->query[$i] === '`') {
258
                $this->status = static::STATUS_STRING_BACKTICK;
259
                $this->current .= $this->query[$i];
260
                continue;