We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
9 | 2 | public static function toConfig(Node $node) |
|
10 | { |
||
11 | 2 | $mustOverride = [__CLASS__, 'mustOverrideConfig']; |
|
12 | $config = [ |
||
13 | 2 | 'description' => DescriptionNode::toConfig($node), |
|
14 | 2 | 'serialize' => $mustOverride, |
|
15 | 2 | 'parseValue' => $mustOverride, |
|
16 | 2 | 'parseLiteral' => $mustOverride, |
|
17 | ]; |
||
18 | |||
19 | return [ |
||
20 | 2 | 'type' => 'custom-scalar', |
|
21 | 2 | 'config' => $config, |
|
22 | ]; |
||
23 | } |
||
24 | |||
30 |