Code Duplication    Length = 5-5 lines in 3 locations

src/Ifsnop/Mysqldump/Mysqldump.php 3 locations

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