Code Duplication    Length = 27-31 lines in 4 locations

src/Parser/Parser.php 4 locations

@@ 278-304 (lines=27) @@
275
276
        $_success = $this->parseHTML_COMMENT_START();
277
278
        if ($_success) {
279
            $_value30[] = $this->value;
280
281
            $_value19 = array();
282
            $_cut20 = $this->cut;
283
284
            while (true) {
285
                $_position18 = $this->position;
286
287
                $this->cut = false;
288
                $_success = $this->parseEMPTY_LINE();
289
290
                if (!$_success) {
291
                    break;
292
                }
293
294
                $_value19[] = $this->value;
295
            }
296
297
            if (!$this->cut) {
298
                $_success = true;
299
                $this->position = $_position18;
300
                $this->value = $_value19;
301
            }
302
303
            $this->cut = $_cut20;
304
        }
305
306
        if ($_success) {
307
            $_value30[] = $this->value;
@@ 306-336 (lines=31) @@
303
            $this->cut = $_cut20;
304
        }
305
306
        if ($_success) {
307
            $_value30[] = $this->value;
308
309
            $_value22 = array();
310
            $_cut23 = $this->cut;
311
312
            while (true) {
313
                $_position21 = $this->position;
314
315
                $this->cut = false;
316
                $_success = $this->parseANNOTATION();
317
318
                if (!$_success) {
319
                    break;
320
                }
321
322
                $_value22[] = $this->value;
323
            }
324
325
            if (!$this->cut) {
326
                $_success = true;
327
                $this->position = $_position21;
328
                $this->value = $_value22;
329
            }
330
331
            $this->cut = $_cut23;
332
333
            if ($_success) {
334
                $annots = $this->value;
335
            }
336
        }
337
338
        if ($_success) {
339
            $_value30[] = $this->value;
@@ 338-364 (lines=27) @@
335
            }
336
        }
337
338
        if ($_success) {
339
            $_value30[] = $this->value;
340
341
            $_value25 = array();
342
            $_cut26 = $this->cut;
343
344
            while (true) {
345
                $_position24 = $this->position;
346
347
                $this->cut = false;
348
                $_success = $this->parseEMPTY_LINE();
349
350
                if (!$_success) {
351
                    break;
352
                }
353
354
                $_value25[] = $this->value;
355
            }
356
357
            if (!$this->cut) {
358
                $_success = true;
359
                $this->position = $_position24;
360
                $this->value = $_value25;
361
            }
362
363
            $this->cut = $_cut26;
364
        }
365
366
        if ($_success) {
367
            $_value30[] = $this->value;
@@ 376-402 (lines=27) @@
373
            }
374
        }
375
376
        if ($_success) {
377
            $_value30[] = $this->value;
378
379
            $_value28 = array();
380
            $_cut29 = $this->cut;
381
382
            while (true) {
383
                $_position27 = $this->position;
384
385
                $this->cut = false;
386
                $_success = $this->parseEMPTY_LINE();
387
388
                if (!$_success) {
389
                    break;
390
                }
391
392
                $_value28[] = $this->value;
393
            }
394
395
            if (!$this->cut) {
396
                $_success = true;
397
                $this->position = $_position27;
398
                $this->value = $_value28;
399
            }
400
401
            $this->cut = $_cut29;
402
        }
403
404
        if ($_success) {
405
            $_value30[] = $this->value;