| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 17 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 1 | protected function getAcceptedMimeTypes(): array |
|
| 21 | { |
||
| 22 | 1 | return [ |
|
| 23 | 1 | 'image/bmp', |
|
| 24 | 1 | 'image/x-ms-bmp', |
|
| 25 | 1 | 'image/gif', |
|
| 26 | 1 | 'image/jpeg', |
|
| 27 | 1 | 'image/pjpeg', |
|
| 28 | 1 | 'image/png', |
|
| 29 | 1 | 'image/svg+xml', |
|
| 30 | 1 | 'image/webp', |
|
| 31 | 1 | 'application/pdf', |
|
| 32 | 1 | 'application/x-pdf', |
|
| 33 | 1 | 'application/pdf', |
|
| 34 | 1 | 'application/msword', |
|
| 35 | 1 | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', |
|
| 36 | 1 | 'application/vnd.ms-excel', |
|
| 37 | 1 | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', |
|
| 38 | 1 | ]; |
|
| 41 |