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.

Transaction::select()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 5
ccs 4
cts 4
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\AMQP\Transport\Protocol\v091;
5
6
use Innmind\AMQP\{
7
    Model\Transaction\Select,
0 ignored issues
show
Bug introduced by
The type Innmind\AMQP\Model\Transaction\Select was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
    Model\Transaction\Commit,
0 ignored issues
show
Bug introduced by
The type Innmind\AMQP\Model\Transaction\Commit was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
    Model\Transaction\Rollback,
0 ignored issues
show
Bug introduced by
The type Innmind\AMQP\Model\Transaction\Rollback was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
10
    Transport\Frame,
11
    Transport\Frame\Channel as FrameChannel,
12
    Transport\Frame\Type,
13
    Transport\Protocol\Transaction as TransactionInterface,
14
};
15
16
final class Transaction implements TransactionInterface
17
{
18 8
    public function select(FrameChannel $channel): Frame
19
    {
20 8
        return Frame::method(
21 8
            $channel,
22 8
            Methods::get('tx.select')
23
        );
24
    }
25
26 4
    public function commit(FrameChannel $channel): Frame
27
    {
28 4
        return Frame::method(
29 4
            $channel,
30 4
            Methods::get('tx.commit')
31
        );
32
    }
33
34 4
    public function rollback(FrameChannel $channel): Frame
35
    {
36 4
        return Frame::method(
37 4
            $channel,
38 4
            Methods::get('tx.rollback')
39
        );
40
    }
41
}
42