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
dl 0
loc 12
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace  ArjanSchouten\HtmlMinifier\Exception;
4
5
class FileNotFoundException extends \InvalidArgumentException implements ExceptionInterface
6
{
7
    /**
8
     * @param string    $message      Exception message to throw
9
     * @param int       $code         Exception code
10
     * @param Exception $previous     previous exception used for the exception chaining
0 ignored issues
show
Documentation introduced by
Should the type for parameter $previous not be null|\Exception?

This check looks for @param annotations where the type inferred by our type inference engine differs from the declared type.

It makes a suggestion as to what type it considers more descriptive.

Most often this is a case of a parameter that can be null in addition to its declared types.

Loading history...
11
     */
12
    public function __construct($message = 'The file does not exists.', $code = 0, \Exception $previous = null)
13
    {
14
        parent::__construct($message, $code, $previous);
15
    }
16
}
17