AuthenticationFailedException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 3
Bugs 0 Features 1
Metric Value
wmc 1
c 3
b 0
f 1
lcom 0
cbo 1
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
3
namespace Ddeboer\Imap\Exception;
4
5
class AuthenticationFailedException extends Exception
6
{
7
    public function __construct($user, $error = null)
8
    {
9
        parent::__construct(
10
            sprintf(
11
                'Authentication failed for user %s with error %s',
12
                $user,
13
                $error
14
            )
15
        );
16
    }
17
}
18