| Conditions | 4 |
| Paths | 4 |
| Total Lines | 17 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 50 | public function compile(string $class, BindInterface $bind): string |
||
| 51 | { |
||
| 52 | $bindings = $bind->getBindings(); |
||
| 53 | if (! $bindings) { |
||
| 54 | return $class; |
||
| 55 | } |
||
| 56 | |||
| 57 | foreach ($bindings as $method => $interceptors) { |
||
| 58 | if (! method_exists($class, $method)) { |
||
| 59 | continue; |
||
| 60 | } |
||
| 61 | |||
| 62 | /** @var list<string> $interceptors */ |
||
| 63 | $this->bindings[$method] = $interceptors; |
||
| 64 | } |
||
| 65 | |||
| 66 | return $class; |
||
| 67 | } |
||
| 69 |
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