| Conditions | 5 |
| Paths | 6 |
| Total Lines | 27 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | protected function searchIn(ClassReflection $classReflection): array |
||
| 43 | { |
||
| 44 | $facadeClass = $classReflection->getName(); |
||
| 45 | |||
| 46 | if ($concrete = $facadeClass::getFacadeRoot()) { |
||
| 47 | |||
| 48 | $classes = [get_class($concrete)]; |
||
| 49 | |||
| 50 | if ($concrete instanceof Manager) { |
||
| 51 | |||
| 52 | $driver = null; |
||
| 53 | |||
| 54 | try { |
||
| 55 | $driver = $concrete->driver(); |
||
| 56 | } catch (InvalidArgumentException $exception) { |
||
| 57 | // .. |
||
| 58 | } |
||
| 59 | |||
| 60 | if ($driver !== null) { |
||
| 61 | $classes[] = get_class($driver); |
||
| 62 | } |
||
| 63 | } |
||
| 64 | |||
| 65 | return $classes; |
||
| 66 | } |
||
| 67 | |||
| 68 | return [NullConcreteClass::class]; |
||
| 69 | } |
||
| 71 |
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