| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 52 | 6 | public function onMethodInject(IAnnotatable $instance, \ReflectionMethod $method, Container $container) |
|
| 53 | { |
||
| 54 | 6 | $exceptions = $this->injectAnnotation['value']; |
|
| 55 | 6 | if (!is_array($exceptions)) { |
|
| 56 | 4 | $exceptions = [$exceptions]; |
|
| 57 | } |
||
| 58 | |||
| 59 | 6 | $this->readAnnotation = [ |
|
| 60 | 6 | 'exceptions' => $exceptions, |
|
| 61 | 6 | 'refMethod' => $method |
|
| 62 | ]; |
||
| 65 |
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