Code Duplication    Length = 12-12 lines in 2 locations

Tests/phpunit/2_MigrateTest.php 2 locations

@@ 82-93 (lines=12) @@
79
        $this->assertSame(0, $exitCode);
80
    }
81
82
    public function goodDSLProvider()
83
    {
84
        $dslDir = $this->dslDir.'/good';
85
        $out = array();
86
        foreach(scandir($dslDir) as $fileName) {
87
            $filePath = $dslDir . '/' . $fileName;
88
            if (is_file($filePath)) {
89
                $out[] = array($filePath);
90
            }
91
        }
92
        return $out;
93
    }
94
95
    public function badDSLProvider()
96
    {
@@ 95-106 (lines=12) @@
92
        return $out;
93
    }
94
95
    public function badDSLProvider()
96
    {
97
        $dslDir = $this->dslDir.'/bad';
98
        $out = array();
99
        foreach(scandir($dslDir) as $fileName) {
100
            $filePath = $dslDir . '/' . $fileName;
101
            if (is_file($filePath)) {
102
                $out[] = array($filePath);
103
            }
104
        }
105
        return $out;
106
    }
107
}
108