| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function testMakeInternalClass(): void |
||
| 24 | { |
||
| 25 | $container = $this->getContainer(); |
||
| 26 | |||
| 27 | $object = (new Injector($container))->make(\SplFileObject::class, [ |
||
| 28 | 'file_name' => __FILE__, |
||
| 29 | // second parameter skipped |
||
| 30 | // third parameter skipped |
||
| 31 | 'context' => null, |
||
| 32 | 'other-parameter' => true, |
||
| 33 | ]); |
||
| 34 | |||
| 35 | $this->assertSame(basename(__FILE__), $object->getFilename()); |
||
| 36 | } |
||
| 49 |
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