Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class CustomLayoutManager extends \Magento\TestFramework\Cms\Model\CustomLayoutManager |
||
|
|||
12 | { |
||
13 | /** |
||
14 | * @var string[][] |
||
15 | */ |
||
16 | private $files = []; |
||
17 | |||
18 | /** |
||
19 | * Fake available files for given page. |
||
20 | * |
||
21 | * Pass null to unassign fake files. |
||
22 | * |
||
23 | * @param int $forPageId |
||
24 | * @param string[]|null $files |
||
25 | * @return void |
||
26 | */ |
||
27 | public function fakeAvailableFiles(int $forPageId, ?array $files): void |
||
34 | } |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Fetches fake/mock files added through $this->fakeAvailableFiles() |
||
39 | * |
||
40 | * @param PageInterface $page |
||
41 | * @return array |
||
42 | */ |
||
43 | public function fetchAvailableFiles(PageInterface $page): array |
||
52 |
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