| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Range extends StepSequence |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Range constructor. |
||
| 17 | * |
||
| 18 | * @param T $start start of the range |
||
| 19 | * @param int<0, max>|null $size size of the range (infinite if null) |
||
| 20 | * @param T $step range step |
||
|
|
|||
| 21 | */ |
||
| 22 | 52 | public function __construct($start, ?int $size, $step) |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | 36 | public function getValueByIndex(int $index) |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritDoc} |
||
| 37 | */ |
||
| 38 | 25 | public function getNextValue($previousValue) |
|
| 43 |
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