Total Complexity | 10 |
Total Lines | 55 |
Duplicated Lines | 0 % |
Coverage | 90% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class Translations implements IMdTranslations |
||
15 | { |
||
16 | 7 | public function mdNoLoaderSet(): string |
|
17 | { |
||
18 | 7 | return 'No loader set!'; |
|
19 | } |
||
20 | |||
21 | 2 | public function mdNoSourceSet(): string |
|
22 | { |
||
23 | 2 | return 'No source set!'; |
|
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param string $classPath |
||
28 | * @return string |
||
29 | * @codeCoverageIgnore autoloader problem - got something that is not a class |
||
30 | */ |
||
31 | public function mdNotInstanceOfIModule(string $classPath): string |
||
32 | { |
||
33 | return sprintf('Class *%s* is not instance of IModule - check interface or query', $classPath); |
||
34 | } |
||
35 | |||
36 | 3 | public function mdNoModuleFound(): string |
|
37 | { |
||
38 | 3 | return 'No module found'; |
|
39 | } |
||
40 | |||
41 | 1 | public function mdConfPathNotSet(): string |
|
42 | { |
||
43 | 1 | return 'Path to config is not set!'; |
|
44 | } |
||
45 | |||
46 | 2 | public function mdStorageTargetNotSet(): string |
|
47 | { |
||
48 | 2 | return 'Site part and then file name is not set!'; |
|
49 | } |
||
50 | |||
51 | 2 | public function mdStorageLoadProblem(): string |
|
52 | { |
||
53 | 2 | return 'Problem with storage load'; |
|
54 | } |
||
55 | |||
56 | 2 | public function mdStorageSaveProblem(): string |
|
59 | } |
||
60 | |||
61 | 1 | public function mdNoOpeningTag(): string |
|
62 | { |
||
63 | 1 | return 'No opening tag in stack to compare!'; |
|
64 | } |
||
65 | |||
66 | 1 | public function mdNoEndingTag(string $module): string |
|
69 | } |
||
70 | } |
||
71 |