| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 31 | public function build() |
||
| 32 | { |
||
| 33 | $packageCount = count($this->checkResult); |
||
| 34 | $title = trans_choice('laravel-security-checker::messages.subject_new_vulnerabilities', $packageCount, [ |
||
| 35 | 'count' => $packageCount |
||
| 36 | ]); |
||
| 37 | $subject = '['.config('app.name').'] '.$title; |
||
| 38 | |||
| 39 | return $this->subject($subject) |
||
| 40 | ->markdown('laravel-security-checker::security-mail', [ |
||
| 41 | 'title' => $title, |
||
| 42 | 'packages' => $this->checkResult |
||
| 43 | ]); |
||
| 46 |
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