Passed
Push — master ( 2f7c15...13e689 )
by Mickael
38s queued 11s
created

FileNotFoundException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * Author: mickael-dev
5
 * File: FileNotFoundException.php
6
 * Created: 07/12/2019 18:26
7
 */
8
9
declare(strict_types=1);
10
11
namespace ComposerLockParser\Exception;
12
13
use Throwable;
14
15
/**
16
 * Class FileNotFoundException
17
 *
18
 * @package ComposerLockParser\Exception
19
 */
20
class FileNotFoundException extends \LogicException
21
{
22
    protected $message = 'Sorry! This file was not found or does not exist';
23
24
    public function __construct($message = '', $code = 0, Throwable $previous = null)
25
    {
26
        parent::__construct($this->message, $code, $previous);
27
    }
28
}
29