We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 53-62 (lines=10) @@ | ||
| 50 | $typesExtension->containerPrependExtensionConfig($config, $container); |
|
| 51 | } |
|
| 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_max_query_depth') |
|
| 58 | ->addMethodCall('setMaxQueryDepth', [$config['security']['query_max_depth']]) |
|
| 59 | ->setPublic(true) |
|
| 60 | ; |
|
| 61 | } |
|
| 62 | } |
|
| 63 | ||
| 64 | private function setGraphiQLTemplate(array $config, ContainerBuilder $container) |
|
| 65 | { |
|
| @@ 71-80 (lines=10) @@ | ||
| 68 | } |
|
| 69 | } |
|
| 70 | ||
| 71 | private function setErrorHandlerArguments(array $config, ContainerBuilder $container) |
|
| 72 | { |
|
| 73 | if (isset($config['definitions']['internal_error_message'])) { |
|
| 74 | $container |
|
| 75 | ->getDefinition($this->getAlias().'.error_handler') |
|
| 76 | ->replaceArgument(0, $config['definitions']['internal_error_message']) |
|
| 77 | ->setPublic(true) |
|
| 78 | ; |
|
| 79 | } |
|
| 80 | } |
|
| 81 | ||
| 82 | private function setSchemaBuilderArguments(array $config, ContainerBuilder $container) |
|
| 83 | { |
|