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

@@ 120-127 (lines=8) @@
117
        return 'PowerShell';
118
    }
119
120
    public static function getMetadata()
121
    {
122
        return [
123
            'name'      => ['powershell', 'posh'],
124
            'mime'      => ['text/x-powershell', 'application/x-powershell'],
125
            'extension' => ['*.ps1', '*.psm1', '*.psd1']
126
        ];
127
    }
128
}
129