We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 4 |
| Paths | 5 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 4 |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | 29 | public static function process(array $configs) |
|
| 11 | { |
||
| 12 | 29 | foreach ($configs as $name => &$config) { |
|
| 13 | 29 | $config['config'] = isset($config['config']) && is_array($config['config']) ? $config['config'] : []; |
|
| 14 | 29 | $config['config']['name'] = $name; |
|
| 15 | } |
||
| 16 | |||
| 17 | 29 | return $configs; |
|
| 18 | } |
||
| 19 | } |
||
| 20 |