ValidationException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Ballen\Plexity\Exceptions;
4
5
/**
6
 * Plexity
7
 *
8
 * Plexity (Password Complexity) is a password complexity library that
9
 * enables you to set "rules" for a password (or any other kind of string) that
10
 * you can then check against in your application.
11
 *
12
 * @author Bobby Allen <[email protected]>
13
 * @license http://opensource.org/licenses/MIT
14
 * @link https://github.com/allebb/plexity
15
 * @link https://bobbyallen.me
16
 *
17
 */
18
class ValidationException extends \Exception
19
{
20
21
    /**
22
     * ValidationException constructor.
23
     * @param string $message
24
     * @param int $code
25
     * @param \Exception|null $previous
26
     */
27 16
    public function __construct($message, $code = 0, \Exception $previous = null)
28
    {
29 16
        parent::__construct($message, $code, $previous);
30
    }
31
}
32