We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 13-15 (lines=3) @@ | ||
10 | public function process(LazyConfig $lazyConfig) |
|
11 | { |
|
12 | $lazyConfig->addPostLoader(function ($config) { |
|
13 | if (isset($config['resolveField']) && is_callable($config['resolveField'])) { |
|
14 | $config['resolveField'] = Resolver::wrapArgs($config['resolveField']); |
|
15 | } |
|
16 | ||
17 | if (isset($config['fields'])) { |
|
18 | $config['fields'] = function () use ($config) { |
|
@@ 37-39 (lines=3) @@ | ||
34 | private static function wrapFieldsArgument(array $fields) |
|
35 | { |
|
36 | foreach ($fields as &$field) { |
|
37 | if (isset($field['resolve']) && is_callable($field['resolve'])) { |
|
38 | $field['resolve'] = Resolver::wrapArgs($field['resolve']); |
|
39 | } |
|
40 | } |
|
41 | ||
42 | return $fields; |