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.
Passed
Pull Request — master (#7)
by Alexander
49:36 queued 24:33
created

MethodNotAllowedException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 1 Features 1
Metric Value
wmc 1
c 2
b 1
f 1
lcom 0
cbo 0
dl 0
loc 14
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * LeadCommerce\Shopware\SDK\Exception
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
namespace LeadCommerce\Shopware\SDK\Exception;
11
12
/**
13
 * Class MethodNotAllowedException
14
 *
15
 * @author Alexander Mahrt <[email protected]>
16
 * @copyright 2016 LeadCommerce <[email protected]>
17
 */
18
class MethodNotAllowedException extends \Exception
19
{
20
    /**
21
     * MethodNotAllowedException constructor.
22
     *
23
     * @param string     $message
24
     * @param int        $code
25
     * @param \Exception $previous
26
     */
27
    public function __construct($message = 'Method is not allowed.', $code = 0, \Exception $previous = null)
28
    {
29
        parent::__construct($message, $code, $previous);
30
    }
31
}
32