Total Complexity | 6 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | abstract class ACharPalette extends APalette implements ICharPalette |
||
15 | { |
||
16 | /** |
||
17 | * @return Traversable<ICharFrame> |
||
18 | */ |
||
19 | protected function getEntries(?IPaletteMode $mode = null): Traversable |
||
24 | } |
||
25 | } |
||
26 | |||
27 | protected function getSequence(): Traversable |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return Traversable<string> |
||
40 | */ |
||
41 | abstract protected function sequence(): Traversable; |
||
42 | |||
43 | abstract protected function createFrame(string $element): ICharFrame; |
||
44 | |||
45 | protected function getOptions(?IPaletteMode $mode = null): IPaletteOptions |
||
46 | { |
||
47 | $this->options = |
||
48 | new PaletteOptions( |
||
49 | interval: $this->options->getInterval() ?? $this->getInterval(), |
||
50 | reversed: $this->options->getReversed(), |
||
51 | ); |
||
52 | |||
53 | return parent::getOptions($mode); |
||
54 | } |
||
55 | |||
56 | protected function getInterval(): ?int |
||
59 | } |
||
60 | } |
||
61 |
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