GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

NotExistingEmployee::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
declare(strict_types=1);
3
4
/*
5
 * This file is part of the AL labs package
6
 *
7
 * (c) Arnaud Langlade
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Al\ResourceManagement\Domain\Exception;
14
15
use Exception;
16
17
class NotExistingEmployee extends \Exception
18
{
19
    public function __construct($identifier, $code = 0, Exception $previous = null)
20
    {
21
        parent::__construct(
22
            sprintf('There is not employee with identifier "%s"', $identifier),
23
            $code,
24
            $previous
25
        );
26
    }
27
}
28