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.

RangeException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 12
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace BillingBoss\Exception;
4
5
/**
6
 * The parent exception from which other range-related exceptions extend
7
 *
8
 * @package   BillingBoss
9
 * @link      https://github.com/ranskills/billing-boss-php
10
 * @copyright Copyright (c) 2018 Ransford Ako Okpoti
11
 * @license   Refer to the LICENSE distributed with this library
12
 * @since     1.0.0
13
 */
14
class RangeException extends Exception
15
{
16
    const NO_RANGE_FOUND = 0;
17
    const LOWER_LIMIT_GREATER_THAN_UPPER_LIMIT = 1;
18
    const MULTIPLE_OPEN_ENDED_UPPER_LIMIT = 2;
19
20
    protected $ranges = [];
21
22 6
    public function __construct($message, $code = 0, $ranges = [])
23
    {
24 6
        parent::__construct($message, $code);
25 6
        $this->ranges = $ranges;
26 6
    }
27
}
28