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 ( a2b99a...f52490 )
by
unknown
06:34
created

SearchTraces   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A withTag() 0 9 2
1
<?php
2
3
namespace AlibabaCloud\Xtrace\V20190808;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method GetTrace getTrace(array $options = [])
9
 * @method SearchTraces searchTraces(array $options = [])
10
 * @method GetTagVal getTagVal(array $options = [])
11
 * @method GetTagKey getTagKey(array $options = [])
12
 * @method ListIpOrHosts listIpOrHosts(array $options = [])
13
 * @method ListServices listServices(array $options = [])
14
 * @method ListSpanNames listSpanNames(array $options = [])
15
 * @method GetToken getToken(array $options = [])
16
 */
17
class XtraceApiResolver extends ApiResolver
18
{
19
}
20
21
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
22
{
23
    /** @var string */
24
    public $product = 'xtrace';
25
26
    /** @var string */
27
    public $version = '2019-08-08';
28
29
    /** @var string */
30
    public $method = 'POST';
31
32
    /** @var string */
33
    public $serviceCode = 'xtrace';
34
}
35
36
/**
37
 * @method string getTraceID()
38
 * @method $this withTraceID($value)
39
 * @method string getAppType()
40
 * @method $this withAppType($value)
41
 */
42
class GetTrace extends Rpc
43
{
44
}
45
46
/**
47
 * @method string getServiceIp()
48
 * @method $this withServiceIp($value)
49
 * @method string getOperationName()
50
 * @method $this withOperationName($value)
51
 * @method string getAppType()
52
 * @method $this withAppType($value)
53
 * @method string getPageSize()
54
 * @method $this withPageSize($value)
55
 * @method string getEndTime()
56
 * @method $this withEndTime($value)
57
 * @method string getServiceName()
58
 * @method $this withServiceName($value)
59
 * @method string getStartTime()
60
 * @method $this withStartTime($value)
61
 * @method array getTag()
62
 * @method string getReverse()
63
 * @method $this withReverse($value)
64
 * @method string getMinDuration()
65
 * @method $this withMinDuration($value)
66
 * @method string getPageNumber()
67
 * @method $this withPageNumber($value)
68
 */
69
class SearchTraces extends Rpc
70
{
71
72
    /**
73
     * @param array $tag
74
     *
75
     * @return $this
76
     */
77
    public function withTag(array $tag)
78
    {
79
        $this->data['Tag'] = $tag;
80
        foreach ($tag as $depth1 => $depth1Value) {
81
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
82
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
83
        }
84
85
        return $this;
86
    }
87
}
88
89
/**
90
 * @method string getEndTime()
91
 * @method $this withEndTime($value)
92
 * @method string getServiceName()
93
 * @method $this withServiceName($value)
94
 * @method string getStartTime()
95
 * @method $this withStartTime($value)
96
 * @method string getTagKey()
97
 * @method $this withTagKey($value)
98
 * @method string getSpanName()
99
 * @method $this withSpanName($value)
100
 */
101
class GetTagVal extends Rpc
102
{
103
}
104
105
/**
106
 * @method string getEndTime()
107
 * @method $this withEndTime($value)
108
 * @method string getServiceName()
109
 * @method $this withServiceName($value)
110
 * @method string getStartTime()
111
 * @method $this withStartTime($value)
112
 * @method string getSpanName()
113
 * @method $this withSpanName($value)
114
 */
115
class GetTagKey extends Rpc
116
{
117
}
118
119
/**
120
 * @method string getEndTime()
121
 * @method $this withEndTime($value)
122
 * @method string getServiceName()
123
 * @method $this withServiceName($value)
124
 * @method string getStartTime()
125
 * @method $this withStartTime($value)
126
 */
127
class ListIpOrHosts extends Rpc
128
{
129
}
130
131
/**
132
 * @method string getAppType()
133
 * @method $this withAppType($value)
134
 */
135
class ListServices extends Rpc
136
{
137
}
138
139
/**
140
 * @method string getEndTime()
141
 * @method $this withEndTime($value)
142
 * @method string getServiceName()
143
 * @method $this withServiceName($value)
144
 * @method string getStartTime()
145
 * @method $this withStartTime($value)
146
 */
147
class ListSpanNames extends Rpc
148
{
149
}
150
151
/**
152
 * @method string getAppType()
153
 * @method $this withAppType($value)
154
 */
155
class GetToken extends Rpc
156
{
157
}
158