UserMock   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 22
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getRoles() 0 3 1
A getPassword() 0 3 1
A getSalt() 0 3 1
A getUsername() 0 3 1
A eraseCredentials() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Sonata Project package.
7
 *
8
 * (c) Thomas Rabaix <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Sonata\NewsBundle\Tests\Fixtures;
15
16
use Symfony\Component\Security\Core\User\UserInterface;
17
18
class UserMock implements UserInterface
19
{
20
    public function getRoles()
21
    {
22
    }
23
24
    public function getPassword()
25
    {
26
    }
27
28
    public function getSalt()
29
    {
30
    }
31
32
    public function getUsername()
33
    {
34
    }
35
36
    public function eraseCredentials()
37
    {
38
    }
39
}
40