| Total Complexity | 6 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ImageEditors extends Module |
||
| 10 | { |
||
| 11 | use TargetsWpImageEditorsHook; |
||
| 12 | |||
| 13 | public function hook(): void |
||
| 14 | { |
||
| 15 | $this->targetWpImageEditorsHook(); |
||
| 16 | } |
||
| 17 | |||
| 18 | protected function defineWpImageEditorsPriority(): int |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function filterWpImageEditors(array $imageEditors): array |
||
| 28 | } |
||
| 29 | |||
| 30 | protected function shouldReplaceEditors(): bool |
||
| 31 | { |
||
| 32 | return $this->getConfig('modules.image_editors.replace', true); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return WP_Image_Editor[] |
||
| 37 | */ |
||
| 38 | protected function editors(): array |
||
| 41 | } |
||
| 42 | } |
||
| 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