1 | <?php declare(strict_types=1); |
||
2 | |||
3 | namespace BoneTest\Traits; |
||
4 | |||
5 | use Bone\View\Traits\HasViewTrait; |
||
6 | use Bone\View\ViewEngine; |
||
7 | use Bone\View\ViewEngineInterface; |
||
8 | use Codeception\TestCase\Test; |
||
0 ignored issues
–
show
|
|||
9 | use Del\SessionManager; |
||
0 ignored issues
–
show
The type
Del\SessionManager was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
10 | |||
11 | class HasViewTest extends Test |
||
12 | { |
||
13 | public function testRouter() |
||
14 | { |
||
15 | $class = new class { |
||
16 | use HasViewTrait; |
||
17 | }; |
||
18 | |||
19 | $class->setView(new ViewEngine()); |
||
20 | $this->assertInstanceOf(ViewEngineInterface::class, $class->getView()); |
||
21 | } |
||
22 | } |
||
23 |
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