Code Duplication    Length = 5-5 lines in 3 locations

src/Ifsnop/Mysqldump/Mysqldump.php 3 locations

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