| Total Complexity | 6 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Translations implements IKLTranslations |
||
| 14 | { |
||
| 15 | 2 | public function iklLockedByOther(): string |
|
| 16 | { |
||
| 17 | 2 | return 'Locked by another!'; |
|
| 18 | } |
||
| 19 | |||
| 20 | 9 | public function iklProblemWithStorage(): string |
|
| 21 | { |
||
| 22 | 9 | return 'Problem with storage'; |
|
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $lockFilename |
||
| 27 | * @return string |
||
| 28 | * @codeCoverageIgnore |
||
| 29 | */ |
||
| 30 | public function iklCannotUseFile(string $lockFilename): string |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $path |
||
| 37 | * @return string |
||
| 38 | * @codeCoverageIgnore |
||
| 39 | */ |
||
| 40 | public function iklCannotUsePath(string $path): string |
||
| 41 | { |
||
| 42 | return 'Cannot use: ' . $path . ' to lock. Path not found and cannot be created.'; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $lockFilename |
||
| 47 | * @return string |
||
| 48 | * @codeCoverageIgnore |
||
| 49 | */ |
||
| 50 | public function iklCannotOpenFile(string $lockFilename): string |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | * @codeCoverageIgnore |
||
| 58 | */ |
||
| 59 | public function iklCannotUseOS(): string |
||
| 64 |