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 | 14 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
11 | 2 | public static function toConfig(Node $node): array |
|
12 | { |
||
13 | 2 | $mustOverride = [__CLASS__, 'mustOverrideConfig']; |
|
14 | 2 | $config = DescriptionNode::toConfig($node) + [ |
|
15 | 2 | 'serialize' => $mustOverride, |
|
16 | 2 | 'parseValue' => $mustOverride, |
|
17 | 2 | 'parseLiteral' => $mustOverride, |
|
18 | ]; |
||
19 | |||
20 | return [ |
||
21 | 2 | 'type' => 'custom-scalar', |
|
22 | 2 | 'config' => $config, |
|
23 | ]; |
||
24 | } |
||
25 | |||
31 |