We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 55-61 (lines=7) @@ | ||
52 | ||
53 | private function setSecurity(array $config, ContainerBuilder $container) |
|
54 | { |
|
55 | if (isset($config['security']['query_max_depth'])) { |
|
56 | $container |
|
57 | ->getDefinition($this->getAlias().'.request_validator_rule_query_depth') |
|
58 | ->addMethodCall('setMaxQueryDepth', [$config['security']['query_max_depth']]) |
|
59 | ->setPublic(true) |
|
60 | ; |
|
61 | } |
|
62 | ||
63 | if (isset($config['security']['query_max_complexity'])) { |
|
64 | $container |
|
@@ 63-69 (lines=7) @@ | ||
60 | ; |
|
61 | } |
|
62 | ||
63 | if (isset($config['security']['query_max_complexity'])) { |
|
64 | $container |
|
65 | ->getDefinition($this->getAlias().'.request_validator_rule_query_complexity') |
|
66 | ->addMethodCall('setMaxQueryComplexity', [$config['security']['query_max_complexity']]) |
|
67 | ->setPublic(true) |
|
68 | ; |
|
69 | } |
|
70 | } |
|
71 | ||
72 | private function setGraphiQLTemplate(array $config, ContainerBuilder $container) |
|
@@ 81-87 (lines=7) @@ | ||
78 | ||
79 | private function setErrorHandlerArguments(array $config, ContainerBuilder $container) |
|
80 | { |
|
81 | if (isset($config['definitions']['internal_error_message'])) { |
|
82 | $container |
|
83 | ->getDefinition($this->getAlias().'.error_handler') |
|
84 | ->replaceArgument(0, $config['definitions']['internal_error_message']) |
|
85 | ->setPublic(true) |
|
86 | ; |
|
87 | } |
|
88 | } |
|
89 | ||
90 | private function setSchemaBuilderArguments(array $config, ContainerBuilder $container) |