SerializationException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
ccs 0
cts 3
cp 0
crap 2
1
<?php
2
3
namespace Serializers\Exceptions;
4
5
use RuntimeException;
6
7
/**
8
 * @since 1.0
9
 *
10
 * @license GPL-2.0-or-later
11
 * @author Jeroen De Dauw < [email protected] >
12
 */
13
class SerializationException extends RuntimeException {
14
15
	public function __construct( $message = '', \Exception $previous = null ) {
16
		parent::__construct( $message, 0, $previous );
17
	}
18
19
}
20