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.
Completed
Push — master ( 533da6...33cff4 )
by Robert
08:57
created

TooManyRequestsHttpException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * @link http://www.yiiframework.com/
4
 * @copyright Copyright (c) 2008 Yii Software LLC
5
 * @license http://www.yiiframework.com/license/
6
 */
7
8
namespace yii\web;
9
10
/**
11
 * TooManyRequestsHttpException represents a "Too Many Requests" HTTP exception with status code 429
12
 *
13
 * Use this exception to indicate that a client has made too many requests in a
14
 * given period of time. For example, you would throw this exception when
15
 * 'throttling' an API user.
16
 *
17
 * @link http://tools.ietf.org/search/rfc6585#section-4
18
 * @author Dan Schmidt <[email protected]>
19
 * @since 2.0
20
 */
21
class TooManyRequestsHttpException extends HttpException
22
{
23
    /**
24
     * Constructor.
25
     * @param string $message error message
26
     * @param int $code error code
27
     * @param \Exception $previous The previous exception used for the exception chaining.
28
     */
29 1
    public function __construct($message = null, $code = 0, \Exception $previous = null)
30
    {
31 1
        parent::__construct(429, $message, $code, $previous);
32 1
    }
33
}
34