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 ( 904e4b...9ecd2f )
by
unknown
06:22
created

DetectImageElements   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A withUrl() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Imagerecog\V20190930;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectImageElements detectImageElements(array $options = [])
9
 * @method RecognizeImageColor recognizeImageColor(array $options = [])
10
 * @method RecognizeImageStyle recognizeImageStyle(array $options = [])
11
 */
12
class ImagerecogApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'imagerecog';
20
21
    /** @var string */
22
    public $version = '2019-09-30';
23
24
    /** @var string */
25
    public $method = 'POST';
26
27
    /** @var string */
28
    public $serviceCode = 'imagerecog';
29
}
30
31
/**
32
 * @method string getUrl()
33
 */
34
class DetectImageElements extends Rpc
35
{
36
37
    /**
38
     * @param string $value
39
     *
40
     * @return $this
41
     */
42
    public function withUrl($value)
43
    {
44
        $this->data['Url'] = $value;
45
        $this->options['form_params']['Url'] = $value;
46
47
        return $this;
48
    }
49
}
50
51
/**
52
 * @method string getUrl()
53
 * @method string getColorCount()
54
 */
55
class RecognizeImageColor extends Rpc
56
{
57
58
    /**
59
     * @param string $value
60
     *
61
     * @return $this
62
     */
63
    public function withUrl($value)
64
    {
65
        $this->data['Url'] = $value;
66
        $this->options['form_params']['Url'] = $value;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @param string $value
73
     *
74
     * @return $this
75
     */
76
    public function withColorCount($value)
77
    {
78
        $this->data['ColorCount'] = $value;
79
        $this->options['form_params']['ColorCount'] = $value;
80
81
        return $this;
82
    }
83
}
84
85
/**
86
 * @method string getUrl()
87
 */
88
class RecognizeImageStyle extends Rpc
89
{
90
91
    /**
92
     * @param string $value
93
     *
94
     * @return $this
95
     */
96
    public function withUrl($value)
97
    {
98
        $this->data['Url'] = $value;
99
        $this->options['form_params']['Url'] = $value;
100
101
        return $this;
102
    }
103
}
104