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   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 23
ccs 12
cts 12
cp 1
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A rollback() 0 5 1
A select() 0 5 1
A commit() 0 5 1
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