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 — develop ( e4addc...44f5b4 )
by Baptiste
23:22
created

Connection::opened()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 2
eloc 2
nc 2
nop 0
crap 2
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\AMQP\Transport;
5
6
use Innmind\AMQP\Model\Connection\MaxFrameSize;
7
8
interface Connection
9
{
10
    public function protocol(): Protocol;
11
12
    /**
13
     * @throws FrameChannelExceedAllowedChannelNumber
14
     * @throws FrameExceedAllowedSize
15
     */
16
    public function send(Frame $frame): self;
17
18
    /**
19
     * @throws ExpectedMethodFrame When expecting a method frame but another type is received
20
     * @throws ConnectionClosed When the server sent a connection.close method
21
     * @throws UnexpectedFrame When the received frame is not one of the expected one
22
     */
23
    public function wait(string ...$names): Frame;
24
    public function maxFrameSize(): MaxFrameSize;
25
    public function close(): void;
26
    public function closed(): bool;
27
}
28