Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Exponential extends StepSequence |
||
14 | { |
||
15 | /** |
||
16 | * Exponential constructor. |
||
17 | * |
||
18 | * @param T $start start of the sequence |
||
19 | * @param int<0, max>|null $size size of the sequence (infinite if null) |
||
20 | * @param T $step sequence step |
||
|
|||
21 | */ |
||
22 | 48 | public function __construct($start, ?int $size, $step) |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | 32 | public function getValueByIndex(int $index) |
|
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritDoc} |
||
41 | */ |
||
42 | 29 | public function getNextValue($previousValue) |
|
47 |
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