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