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

InvalidComposerLockFileException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * Author: mickael-dev
5
 * File: InvalidComposerLockFileException.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 InvalidComposerLockFileException
17
 *
18
 * @package ComposerLockParser\Exception
19
 */
20
class InvalidComposerLockFileException extends \LogicException
21
{
22
    protected $message = 'Sorry! It looks like this file is not a composer.lock file';
23
24
    public function __construct($message = '', $code = 0, Throwable $previous = null)
25
    {
26
        parent::__construct($this->message, $code, $previous);
27
    }
28
}
29