Test Failed
Push — master ( 6731a8...287bb0 )
by Hirofumi
08:50
created

NullJobFlightManager   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 58
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 14.29%

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 0
dl 0
loc 58
ccs 2
cts 14
cp 0.1429
rs 10
c 0
b 0
f 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A departed() 0 4 1
A latestJobFlightOfJobId() 0 4 1
A acknowledged() 0 4 1
A abandoned() 0 4 1
A requeued() 0 4 1
A rejected() 0 4 1
A letGo() 0 4 1
1
<?php
2
3
namespace Shippinno\Job\Application\Messaging;
4
5
class NullJobFlightManager implements JobFlightManager
6
{
7
    /**
8
     * {@inheritdoc}
9
     */
10 2
    public function departed(int $jobId, string $queue): void
11
    {
12
13 2
    }
14
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function latestJobFlightOfJobId(int $jobId): JobFlight
19
    {
20
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function acknowledged(int $jobId): void
27
    {
28
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function abandoned(int $jobId): void
35
    {
36
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function requeued(int $jobId): void
43
    {
44
45
    }
46
47
    /**
48
     * {@inheritdoc}
49
     */
50
    public function rejected(int $jobId): void
51
    {
52
53
    }
54
55
    /**
56
     * {@inheritdoc}
57
     */
58
    public function letGo(int $jobId): void
59
    {
60
61
    }
62
}