Passed
Push — master ( f67228...ea1bad )
by Matthew
08:44
created

StubRunManager   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
lcom 1
cbo 2
dl 0
loc 19
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace Dtc\QueueBundle\Tests;
4
5
use Dtc\QueueBundle\Manager\RunManager;
6
7
class StubRunManager extends RunManager
8
{
9
    use RecordingTrait;
10
11
    public function pruneStalledRuns()
12
    {
13
        return $this->recordArgs(__FUNCTION__, func_get_args());
14
    }
15
16
    public function pruneArchivedRuns(\DateTime $olderThan)
17
    {
18
        return $this->recordArgs(__FUNCTION__, func_get_args());
19
    }
20
21
    public function pruneJobTimings(\DateTime $olderThan)
22
    {
23
        return $this->recordArgs(__FUNCTION__, func_get_args());
24
    }
25
}
26