Total Complexity | 8 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | abstract class ARevolver implements IRevolver |
||
14 | { |
||
15 | protected int $deltaTolerance; |
||
16 | protected float $diff; |
||
17 | protected float $intervalValue; |
||
18 | |||
19 | public function __construct( |
||
20 | protected IInterval $interval, |
||
21 | protected ITolerance $tolerance = new Tolerance(), |
||
22 | ) { |
||
23 | $this->deltaTolerance = $this->tolerance->toMilliseconds(); |
||
24 | $this->diff = $this->intervalValue = $interval->toMilliseconds(); |
||
25 | } |
||
26 | |||
27 | public function getInterval(): IInterval |
||
30 | } |
||
31 | |||
32 | public function getFrame(?float $dt = null): IFrame |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param float|null $dt delta time(milliseconds), time passed since last update |
||
42 | */ |
||
43 | protected function shouldUpdate(?float $dt = null): bool |
||
51 | } |
||
52 | |||
53 | abstract protected function next(?float $dt = null): void; |
||
54 | |||
55 | abstract protected function current(): IFrame; |
||
56 | } |
||
57 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths