Passed
Branch master (7a2f1a)
by Petr
03:10
created

Translations::paNoDirectoryDelimiterSet()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace kalanis\kw_paths;
4
5
6
use kalanis\kw_paths\Interfaces\IPATranslations;
7
8
9
/**
10
 * Class Translations
11
 * @package kalanis\kw_paths
12
 * Translations
13
 */
14
class Translations implements IPATranslations
15
{
16 1
    public function paCannotCreateDescDir(): string
17
    {
18 1
        return 'Cannot create description dir';
19
    }
20
21 1
    public function paCannotCreateThumbDir(): string
22
    {
23 1
        return 'Cannot create thumbnail dir';
24
    }
25
26 2
    public function paCannotAccessWantedDir(): string
27
    {
28 2
        return 'Cannot access wanted directory!';
29
    }
30
31 2
    public function paCannotWriteIntoDir(): string
32
    {
33 2
        return 'Cannot write into that directory!';
34
    }
35
36 1
    public function paUserNameIsShort(): string
37
    {
38 1
        return 'Username is short!';
39
    }
40
41 1
    public function paUserNameContainsChars(): string
42
    {
43 1
        return 'Username contains unsupported characters!';
44
    }
45
46 1
    public function paUserNameNotDefined(): string
47
    {
48 1
        return 'Necessary user name is not defined!';
49
    }
50
51 4
    public function paCannotDetermineUserDir(): string
52
    {
53 4
        return 'Cannot determine user dir!';
54
    }
55
56 1
    public function paCannotCreateUserDir(): string
57
    {
58 1
        return 'Cannot create user dir!';
59
    }
60
61 2
    public function paNoDirectoryDelimiterSet(): string
62
    {
63 2
        return 'Cannot create user dir!';
64
    }
65
}
66