| Total Complexity | 7 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class Translations implements IMiTranslations |
||
| 15 | { |
||
| 16 | 6 | public function miCannotLoadFile(string $target): string |
|
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string |
||
| 23 | * @codeCoverageIgnore failing local device |
||
| 24 | */ |
||
| 25 | public function miCannotLoadTempFile(): string |
||
| 26 | { |
||
| 27 | return 'Cannot load temporary file.'; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $target |
||
| 32 | * @return string |
||
| 33 | * @codeCoverageIgnore failing streams |
||
| 34 | */ |
||
| 35 | public function miCannotGetFilePart(string $target): string |
||
| 36 | { |
||
| 37 | return 'Cannot extract part of content'; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | * @codeCoverageIgnore failing libraries |
||
| 43 | */ |
||
| 44 | public function miNoClass(): string |
||
| 45 | { |
||
| 46 | return 'No necessary class defined and available!'; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | * @codeCoverageIgnore failing libraries |
||
| 52 | */ |
||
| 53 | public function miNoMethod(): string |
||
| 54 | { |
||
| 55 | return 'No necessary method defined and available!'; |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | * @codeCoverageIgnore failing libraries |
||
| 61 | */ |
||
| 62 | public function miNoFunction(): string |
||
| 63 | { |
||
| 64 | return 'No necessary function defined and available!'; |
||
| 65 | } |
||
| 66 | |||
| 67 | 2 | public function miNoStorage(): string |
|
| 70 | } |
||
| 71 | } |
||
| 72 |