Code Duplication    Length = 5-5 lines in 3 locations

src/Ifsnop/Mysqldump/Mysqldump.php 3 locations

@@ 494-498 (lines=5) @@
491
        }
492
493
        // Listing all triggers from database
494
        if (false === $this->dumpSettings['skip-triggers']) {
495
            foreach ($this->dbHandler->query($this->typeAdapter->show_triggers($this->dbName)) as $row) {
496
                array_push($this->triggers, $row['Trigger']);
497
            }
498
        }
499
500
        // Listing all procedures from database
501
        if ($this->dumpSettings['routines']) {
@@ 501-505 (lines=5) @@
498
        }
499
500
        // Listing all procedures from database
501
        if ($this->dumpSettings['routines']) {
502
            foreach ($this->dbHandler->query($this->typeAdapter->show_procedures($this->dbName)) as $row) {
503
                array_push($this->procedures, $row['procedure_name']);
504
            }
505
        }
506
507
        // Listing all events from database
508
        if ($this->dumpSettings['events']) {
@@ 508-512 (lines=5) @@
505
        }
506
507
        // Listing all events from database
508
        if ($this->dumpSettings['events']) {
509
            foreach ($this->dbHandler->query($this->typeAdapter->show_events($this->dbName)) as $row) {
510
                array_push($this->events, $row['event_name']);
511
            }
512
        }
513
    }
514
515
    /**