| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 14 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 17 | public function render(): string | ||
| 18 |     { | ||
| 19 | $flashes = $this->flash->getAll(); | ||
| 20 | |||
| 21 | $html = []; | ||
| 22 |         foreach ($flashes as $type => $data) { | ||
| 23 |             foreach ($data as $message) { | ||
| 24 | $html[] = Alert::widget() | ||
| 25 |                     ->options(['class' => "alert-{$type} shadow"]) | ||
| 26 | ->body($message['body']); | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 30 | return implode($html); | ||
| 31 | } | ||
| 33 | 
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