| Total Complexity | 2 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 5 | trait AcceptsCustomFormat | ||
| 6 | { | ||
| 7 | /** @var null\Closure */ | ||
|  | |||
| 8 | protected $format; | ||
| 9 | |||
| 10 | /** | ||
| 11 | * @param \Closure $format | ||
| 12 | * | ||
| 13 | * @return BelongsTo | ||
| 14 | */ | ||
| 15 | public function renderAs(\Closure $format): self | ||
| 16 |     { | ||
| 17 | $this->format = $format; | ||
| 18 | |||
| 19 | return $this; | ||
| 20 | } | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @param $args | ||
| 24 | * | ||
| 25 | * @return mixed | ||
| 26 | */ | ||
| 27 | protected function callFormatter($args) | ||
| 30 | } | ||
| 31 | } | ||
| 32 | 
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