| Total Complexity | 2 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | class CallTest extends \PHPUnit\Framework\TestCase  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 15 | { | 
            ||
| 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 | }  | 
            ||
| 26 | |||
| 27 | public function testFunctionCall()  | 
            ||
| 38 | }  | 
            ||
| 39 | }  | 
            ||
| 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