| Total Complexity | 1 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class CallbackDependencyTest extends DependencyTestCase |
||
| 8 | { |
||
| 9 | private function createDependency(callable $callback, $dependencyData): Dependency |
||
| 10 | { |
||
| 11 | $dependency = new CallbackDependency($callback); |
||
| 12 | $this->setInaccessibleProperty($dependency, 'data', $dependencyData); |
||
| 13 | return $dependency; |
||
| 14 | } |
||
| 15 | |||
| 16 | public function testPlainClosure(): void |
||
| 23 | } |
||
| 24 | |||
| 25 | public function testScopeWithObject(): void |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
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