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.
Test Failed
Push — master ( c5fc1e...fcfb9f )
by sunsky
02:08
created

RequestTrait::expectsJson()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 *
4
 * @author  [email protected] [email protected]
5
 * Date: 2017/6/16
6
 * Time: 10:02
7
 * @version $Id: $
8
 * @since 1.0
9
 * @copyright Sina Corp.
10
 */
11
12
namespace MultiHttp;
13
14
trait RequestTrait {
15
    protected $expectContentType = null;
16
    public function expectsJson(){
17
        $this->expectContentType = Mime::JSON;
18
    }
19
    public function expectsXml(){
20
        $this->expectContentType = Mime::XML;
21
    }
22
23
    protected function json(){
24
25
    }
26
    protected function unJson(){
27
28
    }
29
30
    protected function xml(){
31
32
    }
33
    protected function unXml(){
34
35
    }
36
}
37
38