Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function testSimpleCall() |
||
17 | { |
||
18 | $di = new \drycart\di\Container(); |
||
19 | $di->setConfig([ |
||
20 | 'drycart\di\tests\DummyInterface' => ['#class'=>'drycart\di\tests\DummyComplex'] |
||
21 | ]); |
||
22 | $obj = $di->get('drycart\di\tests\DummyInterface'); |
||
23 | $dummy = $di->call([$obj, 'method'], ['i'=>null]); |
||
24 | $this->assertTrue(is_a($dummy, 'drycart\di\tests\Dummy')); |
||
25 | } |
||
40 |
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