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.
Completed
Push — master ( ae6819...4aeb17 )
by Cees-Jan
06:28
created

Capabilities   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 80
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 80
ccs 12
cts 12
cp 1
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A publisherConfirms() 0 4 1
A exchangeExchangeBindings() 0 4 1
A consumerCancelNotify() 0 4 1
A authenticationFailureClose() 0 4 1
A basicNack() 0 4 1
A connectionBlocked() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\RabbitMQ\Management\Resource\Connection\ClientProperties;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Hydrator\Annotation\Rename;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Rename(
11
 *     basic_nack="basic.nack",
12
 *     connection_blocked="connection.blocked"
13
 * )
14
 * @EmptyResource("Connection\ClientProperties\EmptyCapabilities")
15
 */
16
abstract class Capabilities extends AbstractResource implements CapabilitiesInterface
17
{
18
    /**
19
     * @var bool
20
     */
21
    protected $publisher_confirms;
22
23
    /**
24
     * @var bool
25
     */
26
    protected $exchange_exchange_bindings;
27
28
    /**
29
     * @var bool
30
     */
31
    protected $consumer_cancel_notify;
32
33
    /**
34
     * @var bool
35
     */
36
    protected $authentication_failure_close;
37
38
    /**
39
     * @var bool
40
     */
41
    protected $basic_nack;
42
43
    /**
44
     * @var bool
45
     */
46
    protected $connection_blocked;
47
48
    /**
49
     * @return bool
50
     */
51 4
    public function publisherConfirms(): bool
52
    {
53 4
        return $this->publisher_confirms;
54
    }
55
56
    /**
57
     * @return bool
58
     */
59 4
    public function exchangeExchangeBindings(): bool
60
    {
61 4
        return $this->exchange_exchange_bindings;
62
    }
63
64
    /**
65
     * @return bool
66
     */
67 4
    public function consumerCancelNotify(): bool
68
    {
69 4
        return $this->consumer_cancel_notify;
70
    }
71
72
    /**
73
     * @return bool
74
     */
75 4
    public function authenticationFailureClose(): bool
76
    {
77 4
        return $this->authentication_failure_close;
78
    }
79
80
    /**
81
     * @return bool
82
     */
83 4
    public function basicNack(): bool
84
    {
85 4
        return $this->basic_nack;
86
    }
87
88
    /**
89
     * @return bool
90
     */
91 4
    public function connectionBlocked(): bool
92
    {
93 4
        return $this->connection_blocked;
94
    }
95
}
96