Translations::upCannotCreateUserDir()   A
last analyzed

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 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace kalanis\kw_user_paths;
4
5
6
use kalanis\kw_user_paths\Interfaces\IUPTranslations;
7
8
9
/**
10
 * Class Translations
11
 * @package kalanis\kw_user_paths
12
 * Translations
13
 */
14
class Translations implements IUPTranslations
15
{
16 1
    public function upUserNameIsShort(): string
17
    {
18 1
        return 'Username is short!';
19
    }
20
21 1
    public function upUserNameContainsChars(): string
22
    {
23 1
        return 'Username contains unsupported characters!';
24
    }
25
26 1
    public function upUserNameNotDefined(): string
27
    {
28 1
        return 'Necessary user name is not defined!';
29
    }
30
31 4
    public function upCannotDetermineUserDir(): string
32
    {
33 4
        return 'Cannot determine user dir!';
34
    }
35
36 1
    public function upCannotCreateUserDir(): string
37
    {
38 1
        return 'Cannot create user dir!';
39
    }
40
41 1
    public function upCannotGetFullPaths(): string
42
    {
43 1
        return 'Cannot get full path class!';
44
    }
45
}
46