Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | abstract class AbstractFrontendControllerTest extends AbstractController |
||
18 | { |
||
19 | /** |
||
20 | * @var ObjectManagerInterface |
||
21 | */ |
||
22 | protected $objectManager; |
||
23 | |||
24 | /** |
||
25 | * @var LayoutInterface |
||
26 | */ |
||
27 | protected $layoutInterface; |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | protected function setUp() |
||
33 | { |
||
34 | $this->objectManager = Bootstrap::getObjectManager(); |
||
35 | $this->layoutInterface = $this->objectManager->get(LayoutInterface::class); |
||
36 | |||
37 | $this->setUpPreferences(); |
||
38 | |||
39 | parent::setUp(); |
||
40 | } |
||
41 | |||
42 | private function setUpPreferences(): void |
||
52 | } |
||
53 | } |
||
54 |
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