Username   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 18
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace DMT\Insolvency\Soap\Authorization;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * Class Username
9
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
10
class Username
11
{
12
    /**
0 ignored issues
show
Coding Style introduced by
Missing short description in doc comment
Loading history...
13
     * @JMS\Type("string")
14
     * @JMS\XmlValue(cdata=false)
15
     *
16
     * @var string
17
     */
18
    public $username;
19
20
    /**
21
     * Username constructor.
22
     *
23
     * @param string $username
0 ignored issues
show
Coding Style introduced by
Missing parameter comment
Loading history...
24
     */
25 12
    public function __construct(string $username)
26
    {
27 12
        $this->username = $username;
28 12
    }
29
}
30