Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
15 | public function test_initialize_fire_once() |
||
16 | { |
||
17 | /** @var Mockery\Mock|Form $form */ |
||
18 | $form = Mockery::mock(Form::class)->makePartial()->shouldAllowMockingProtectedMethods(); |
||
19 | $form->shouldReceive('initAction')->once(); |
||
20 | |||
21 | $form->initializeIfNotInitialized(); |
||
22 | $form->initializeIfNotInitialized(); |
||
23 | } |
||
25 |
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