Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | trait Mockery |
||
17 | { |
||
18 | /** |
||
19 | * Create Template mock |
||
20 | * |
||
21 | * @return \CaptainHook\App\Hook\Template&\PHPUnit\Framework\MockObject\MockObject |
||
22 | */ |
||
23 | public function createTemplateMock(): Template |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param $type |
||
32 | * @return \PHPUnit\Framework\MockObject\MockBuilder |
||
33 | */ |
||
34 | abstract public function getMockBuilder(string $type): MockBuilder; |
||
35 | } |
||
36 |
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