Code Duplication    Length = 5-5 lines in 3 locations

src/Ifsnop/Mysqldump/Mysqldump.php 3 locations

@@ 478-482 (lines=5) @@
475
        }
476
477
        // Listing all triggers from database
478
        if (false === $this->dumpSettings['skip-triggers']) {
479
            foreach ($this->dbHandler->query($this->typeAdapter->show_triggers($this->dbName)) as $row) {
480
                array_push($this->triggers, $row['Trigger']);
481
            }
482
        }
483
484
        // Listing all procedures from database
485
        if ($this->dumpSettings['routines']) {
@@ 485-489 (lines=5) @@
482
        }
483
484
        // Listing all procedures from database
485
        if ($this->dumpSettings['routines']) {
486
            foreach ($this->dbHandler->query($this->typeAdapter->show_procedures($this->dbName)) as $row) {
487
                array_push($this->procedures, $row['procedure_name']);
488
            }
489
        }
490
491
        // Listing all events from database
492
        if ($this->dumpSettings['events']) {
@@ 492-496 (lines=5) @@
489
        }
490
491
        // Listing all events from database
492
        if ($this->dumpSettings['events']) {
493
            foreach ($this->dbHandler->query($this->typeAdapter->show_events($this->dbName)) as $row) {
494
                array_push($this->events, $row['event_name']);
495
            }
496
        }
497
    }
498
499
    /**