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 ( 15d2ad...812878 )
by
unknown
04:24
created

GetDemoTrialAuth   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 6
c 1
b 0
f 0
dl 0
loc 20
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withDemoId() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\DemoCenter\V20200121;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateDemoAccessToken createDemoAccessToken(array $options = [])
9
 * @method DescribeDemoAccessToken describeDemoAccessToken(array $options = [])
10
 * @method ExpireDemoAccessToken expireDemoAccessToken(array $options = [])
11
 * @method GetDemoTrialAuth getDemoTrialAuth(array $options = [])
12
 */
13
class DemoCenterApiResolver extends ApiResolver
14
{
15
}
16
17
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
18
{
19
    /** @var string */
20
    public $product = 'DemoCenter';
21
22
    /** @var string */
23
    public $version = '2020-01-21';
24
25
    /** @var string */
26
    public $method = 'POST';
27
28
    /** @var string */
29
    protected $scheme = 'https';
30
}
31
32
/**
33
 * @method string getEdition()
34
 * @method string getDemoId()
35
 */
36
class CreateDemoAccessToken extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withEdition($value)
45
    {
46
        $this->data['Edition'] = $value;
47
        $this->options['form_params']['Edition'] = $value;
48
49
        return $this;
50
    }
51
52
    /**
53
     * @param string $value
54
     *
55
     * @return $this
56
     */
57
    public function withDemoId($value)
58
    {
59
        $this->data['DemoId'] = $value;
60
        $this->options['form_params']['DemoId'] = $value;
61
62
        return $this;
63
    }
64
}
65
66
/**
67
 * @method string getDemoAccessToken()
68
 */
69
class DescribeDemoAccessToken extends Rpc
70
{
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withDemoAccessToken($value)
78
    {
79
        $this->data['DemoAccessToken'] = $value;
80
        $this->options['form_params']['DemoAccessToken'] = $value;
81
82
        return $this;
83
    }
84
}
85
86
/**
87
 * @method string getDemoAccessToken()
88
 */
89
class ExpireDemoAccessToken extends Rpc
90
{
91
92
    /**
93
     * @param string $value
94
     *
95
     * @return $this
96
     */
97
    public function withDemoAccessToken($value)
98
    {
99
        $this->data['DemoAccessToken'] = $value;
100
        $this->options['form_params']['DemoAccessToken'] = $value;
101
102
        return $this;
103
    }
104
}
105
106
/**
107
 * @method string getDemoId()
108
 */
109
class GetDemoTrialAuth extends Rpc
110
{
111
112
    /** @var string */
113
    public $scheme = 'http';
114
115
    /** @var string */
116
    public $method = 'GET';
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withDemoId($value)
124
    {
125
        $this->data['DemoId'] = $value;
126
        $this->options['form_params']['DemoId'] = $value;
127
128
        return $this;
129
    }
130
}
131