| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php namespace Arcanesoft\Foundation\ViewComposers\System; |
||
| 52 | private function prepare(array $folders) |
||
| 53 | { |
||
| 54 | return collect($folders)->mapWithKeys(function ($folder) { |
||
| 55 | $path = base_path($folder); |
||
| 56 | |||
| 57 | return [ |
||
| 58 | $folder => [ |
||
| 59 | 'chmod' => (int) substr(sprintf('%o', fileperms($path)), -4), |
||
| 60 | 'writable' => is_writable($path), |
||
| 61 | ], |
||
| 66 |
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