| Conditions | 4 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 40 | protected function formatS3Config(array $config) |
||
| 41 | { |
||
| 42 | $config += ['version' => 'latest']; |
||
| 43 | if ($config['key'] && $config['secret']) { |
||
| 44 | $config['credentials'] = [ |
||
| 45 | 'key' => $config['key'], |
||
| 46 | 'secret' => $config['secret'], |
||
| 47 | ]; |
||
| 48 | } |
||
| 49 | if (empty($config['endpoint'])) { |
||
| 50 | unset($config['endpoint']); |
||
| 51 | } |
||
| 52 | |||
| 53 | return $config; |
||
| 54 | } |
||
| 56 |
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