| @@ 45-52 (lines=8) @@ | ||
| 42 | return 'ini'; |
|
| 43 | } |
|
| 44 | ||
| 45 | public static function getAliases() |
|
| 46 | { |
|
| 47 | return [ |
|
| 48 | 'name' => ['ini'], |
|
| 49 | 'mime' => ['text/x-ini', 'text/inf'], |
|
| 50 | 'extension' => ['*.ini', '*.cfg', '*.inf'] |
|
| 51 | ]; |
|
| 52 | } |
|
| 53 | } |
|
| 54 | ||
| @@ 138-145 (lines=8) @@ | ||
| 135 | ]; |
|
| 136 | } |
|
| 137 | ||
| 138 | public static function getAliases() |
|
| 139 | { |
|
| 140 | return [ |
|
| 141 | 'name' => ['perl'], |
|
| 142 | 'mime' => ['text/x-perl', 'application/x-perl'], |
|
| 143 | 'extension' => ['*.pl', '*.pm', '*.t'] |
|
| 144 | ]; |
|
| 145 | } |
|
| 146 | } |
|
| 147 | ||
| @@ 168-175 (lines=8) @@ | ||
| 165 | return 'php'; |
|
| 166 | } |
|
| 167 | ||
| 168 | public static function getAliases() |
|
| 169 | { |
|
| 170 | return [ |
|
| 171 | 'name' => ['php'], |
|
| 172 | 'mime' => ['text/x-php', 'application/x-php'], |
|
| 173 | 'extension' => ['*.php', '*.phtml', '*.inc', '*.php?'], |
|
| 174 | ]; |
|
| 175 | } |
|
| 176 | } |
|
| 177 | ||
| @@ 120-127 (lines=8) @@ | ||
| 117 | return 'PowerShell'; |
|
| 118 | } |
|
| 119 | ||
| 120 | public static function getAliases() |
|
| 121 | { |
|
| 122 | return [ |
|
| 123 | 'name' => ['powershell', 'posh'], |
|
| 124 | 'mime' => ['text/x-powershell', 'application/x-powershell'], |
|
| 125 | 'extension' => ['*.ps1', '*.psm1', '*.psd1'] |
|
| 126 | ]; |
|
| 127 | } |
|
| 128 | } |
|
| 129 | ||
| @@ 64-71 (lines=8) @@ | ||
| 61 | return 'xml'; |
|
| 62 | } |
|
| 63 | ||
| 64 | public static function getAliases() |
|
| 65 | { |
|
| 66 | return [ |
|
| 67 | 'name' => ['xml', 'xaml'], |
|
| 68 | 'mime' => ['application/xml', 'text/xml'], |
|
| 69 | 'extension' => ['*.xml', '*.xaml'] |
|
| 70 | ]; |
|
| 71 | } |
|
| 72 | } |
|
| 73 | ||