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 ( 9876ba...31eef1 )
by Jackson
15:15
created

src/AlibabaCloud.php (1 issue)

Severity
1
<?php
2
3
namespace AlibabaCloud\Client;
4
5
use AlibabaCloud\Client\Traits\LogTrait;
6
use AlibabaCloud\Client\Traits\MockTrait;
7
use AlibabaCloud\Client\Traits\ClientTrait;
8
use AlibabaCloud\Client\Traits\HistoryTrait;
9
use AlibabaCloud\Client\Traits\RequestTrait;
10
use AlibabaCloud\Client\Traits\EndpointTrait;
11
use AlibabaCloud\Client\Traits\DefaultRegionTrait;
12
use AlibabaCloud\Client\Exception\ClientException;
13
14
/**
15
 * Class AlibabaCloud
16
 *
17
 * @package   AlibabaCloud\Client
18
 * @mixin     \AlibabaCloud\IdeHelper
19
 */
20
class AlibabaCloud
21
{
22
    use ClientTrait;
23
    use DefaultRegionTrait;
24
    use EndpointTrait;
0 ignored issues
show
The trait AlibabaCloud\Client\Traits\EndpointTrait requires some properties which are not provided by AlibabaCloud\Client\AlibabaCloud: $network, $endpointSuffix, $endpointRegional, $product
Loading history...
25
    use RequestTrait;
26
    use MockTrait;
27
    use HistoryTrait;
28
    use LogTrait;
29
30
    /**
31
     * Version of the Client
32
     */
33
    const VERSION = '1.5.29';
34
35
    /**
36
     * This static method can directly call the specific service.
37
     *
38
     * @param string $product
39
     * @param array  $arguments
40
     *
41
     * @codeCoverageIgnore
42
     * @return object
43
     * @throws ClientException
44
     */
45
    public static function __callStatic($product, $arguments)
46
    {
47
        $product = \ucfirst($product);
48
49
        $product_class = 'AlibabaCloud' . '\\' . $product . '\\' . $product;
50
51
        if (\class_exists($product_class)) {
52
            return new $product_class;
53
        }
54
55
        throw new ClientException(
56
            "May not yet support product $product quick access, "
57
            . 'you can use [Alibaba Cloud Client for PHP] to send any custom '
58
            . 'requests: https://github.com/aliyun/openapi-sdk-php-client/blob/master/docs/en-US/3-Request.md',
59
            SDK::SERVICE_NOT_FOUND
60
        );
61
    }
62
}
63