FileNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of file-fixture.
5
 *
6
 * (c) Noritaka Horio <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace holyshared\fixture;
13
14
use RuntimeException;
15
use Exception;
16
17
class FileNotFoundException extends RuntimeException
18
{
19
    /**
20
     * @param string $path
21
     * @param int $code
22
     * @param Exception $previous
23
     */
24
    public function __construct($path, $code = 0, Exception $previous = null)
25
    {
26
        parent::__construct("File {$path} was not found", $code, $previous);
27
    }
28
}
29