Test Failed
Push — master ( fdbc9d...2c619e )
by Hirofumi
02:03
created

NullJobFlightManager   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 90
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 18.18%

Importance

Changes 0
Metric Value
dl 0
loc 90
c 0
b 0
f 0
wmc 11
lcom 0
cbo 0
ccs 4
cts 22
cp 0.1818
rs 10

11 Methods

Rating   Name   Duplication   Size   Complexity  
A created() 0 4 1
A boarding() 0 4 1
A departed() 0 4 1
A arrived() 0 4 1
A latestJobFlightOfJobId() 0 4 1
A acknowledged() 0 4 1
A abandoned() 0 4 1
A rejected() 0 4 1
A letGo() 0 4 1
A requeued() 0 4 1
A undepartedJobFlights() 0 4 1
1
<?php
2
3
namespace Shippinno\Job\Application\Messaging;
4
5
class NullJobFlightManager implements JobFlightManager
6
{
7
    /**
8
     * {@inheritdoc}
9
     */
10
    public function created(int $jobId, string $jobName, string $queue): void
11
    {
12
13
    }
14
15
    /**
16
     * {@inheritdoc}
17
     */
18 2
    public function boarding(int $jobId): void
19
    {
20
21 2
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26 1
    public function departed(int $jobId): void
27
    {
28
29 1
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function arrived(int $jobId): void
35
    {
36
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function latestJobFlightOfJobId(int $jobId): ?JobFlight
43
    {
44
45
    }
46
47
    /**
48
     * {@inheritdoc}
49
     */
50
    public function acknowledged(int $jobId): void
51
    {
52
53
    }
54
55
    /**
56
     * {@inheritdoc}
57
     */
58
    public function abandoned(int $jobId): void
59
    {
60
61
    }
62
63
    /**
64
     * {@inheritdoc}
65
     */
66
    public function requeued(string $jobId): void
67
    {
68
69
    }
70
71
    /**
72
     * {@inheritdoc}
73
     */
74
    public function rejected(int $jobId): void
75
    {
76
77
    }
78
79
    /**
80
     * {@inheritdoc}
81
     */
82
    public function letGo(int $jobId): void
83
    {
84
85
    }
86
87
    /**
88
     * {@inheritdoc}
89
     */
90
    public function undepartedJobFlights(string $queue): array
91
    {
92
93
    }
94
}
95
96