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 ( 9090d2...57a4aa )
by
unknown
06:38
created

AccessToken::withAppSecret()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\BtripOpen\V20220520;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AccessToken accessToken(array $options = [])
9
 */
10
class BtripOpenApiResolver extends ApiResolver
11
{
12
}
13
14
class Roa extends \AlibabaCloud\Client\Resolver\Roa
15
{
16
    /** @var string */
17
    public $product = 'btripOpen';
18
19
    /** @var string */
20
    public $version = '2022-05-20';
21
22
    /** @var string */
23
    protected $scheme = 'https';
24
}
25
26
/**
27
 * @method string getAppKey()
28
 * @method string getAppSecret()
29
 */
30
class AccessToken extends Roa
31
{
32
    /** @var string */
33
    public $pathPattern = '/btrip-open-auth/v1/access-token/action/take';
34
35
    /**
36
     * @param string $value
37
     *
38
     * @return $this
39
     */
40
    public function withAppKey($value)
41
    {
42
        $this->data['AppKey'] = $value;
43
        $this->options['query']['app_key'] = $value;
44
45
        return $this;
46
    }
47
48
    /**
49
     * @param string $value
50
     *
51
     * @return $this
52
     */
53
    public function withAppSecret($value)
54
    {
55
        $this->data['AppSecret'] = $value;
56
        $this->options['query']['app_secret'] = $value;
57
58
        return $this;
59
    }
60
}
61