| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | abstract class APalette implements IPalette |
||
| 17 | { |
||
| 18 | public function __construct( |
||
| 21 | } |
||
| 22 | |||
| 23 | // FIXME (2023-12-04 16:9) [Alec Rabbit]: extract functionality to PaletteTemplateFactory->create($palette) |
||
| 24 | public function getTemplate(?IPaletteMode $mode = null): IPaletteTemplate |
||
| 25 | { |
||
| 26 | return new PaletteTemplate( |
||
| 27 | $this->getEntries($mode), |
||
| 28 | $this->getOptions($mode), |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return Traversable<IFrame> |
||
| 34 | */ |
||
| 35 | abstract protected function getEntries(?IPaletteMode $mode = null): Traversable; |
||
| 36 | |||
| 37 | protected function getOptions(?IPaletteMode $mode = null): IPaletteOptions |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
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