We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 3 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | public function process(LazyConfig $lazyConfig): LazyConfig |
||
42 | { |
||
43 | $lazyConfig->addPostLoader(function ($config) { |
||
44 | dump($config); |
||
45 | if (isset($config['fields']) && \is_callable($config['fields'])) { |
||
46 | $config['fields'] = function () use ($config) { |
||
47 | $fields = $config['fields'](); |
||
48 | |||
49 | return static::transformArgs($fields, $this->describer); |
||
50 | }; |
||
51 | } |
||
52 | |||
53 | return $config; |
||
54 | }); |
||
55 | |||
56 | return $lazyConfig; |
||
57 | } |
||
59 |