Code Duplication    Length = 8-8 lines in 3 locations

Language/Ini.php 1 location

@@ 45-52 (lines=8) @@
42
        return 'ini';
43
    }
44
45
    public static function getMetadata()
46
    {
47
        return [
48
            'name'      => ['ini'],
49
            'mime'      => ['text/x-ini', 'text/inf'],
50
            'extension' => ['*.ini', '*.cfg', '*.inf']
51
        ];
52
    }
53
}
54

Language/Perl.php 1 location

@@ 138-145 (lines=8) @@
135
        ];
136
    }
137
138
    public static function getMetadata()
139
    {
140
        return [
141
            'name'      => ['perl'],
142
            'mime'      => ['text/x-perl', 'application/x-perl'],
143
            'extension' => ['*.pl', '*.pm', '*.t']
144
        ];
145
    }
146
}
147

Language/PowerShell.php 1 location

@@ 128-135 (lines=8) @@
125
        return 'PowerShell';
126
    }
127
128
    public static function getMetadata()
129
    {
130
        return [
131
            'name'      => ['powershell', 'posh'],
132
            'mime'      => ['text/x-powershell', 'application/x-powershell'],
133
            'extension' => ['*.ps1', '*.psm1', '*.psd1'],
134
        ];
135
    }
136
}
137