Passed
Push — master ( 26c340...9e24cf )
by Anton
02:30
created

ParseException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/* (c) Anton Medvedev <[email protected]>
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace Deployer\Support\Changelog;
9
10
class ParseException extends \Exception
11
{
12
    public function __construct(string $message = "", $code = "")
13
    {
14
        parent::__construct("$message\n\n{$code}\n\n");
15
    }
16
}
17