We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -121,6 +121,9 @@ |
||
| 121 | 121 | return $node; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | + /** |
|
| 125 | + * @param string $name |
|
| 126 | + */ |
|
| 124 | 127 | private function addFieldsSelection($name, $enabledBuilder = true) |
| 125 | 128 | { |
| 126 | 129 | $builder = new TreeBuilder(); |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | trait DIContainerMockTrait |
| 15 | 15 | { |
| 16 | + /** |
|
| 17 | + * @return null|\Symfony\Component\DependencyInjection\ContainerInterface |
|
| 18 | + */ |
|
| 16 | 19 | private function getDIContainerMock(array $services = [], array $parameters = []) |
| 17 | 20 | { |
| 18 | 21 | $container = $this->getMock('Symfony\\Component\\DependencyInjection\\Container', ['get', 'getParameter', 'has']); |
@@ -149,6 +149,9 @@ |
||
| 149 | 149 | return $treatedOptions; |
| 150 | 150 | } |
| 151 | 151 | |
| 152 | + /** |
|
| 153 | + * @param callable $expression |
|
| 154 | + */ |
|
| 152 | 155 | private function resolveAccessAndWrapResolveCallback($expression, callable $resolveCallback = null) |
| 153 | 156 | { |
| 154 | 157 | return function () use ($expression, $resolveCallback) { |
@@ -41,6 +41,7 @@ |
||
| 41 | 41 | * check if equal to 0 no check is done. Must be greater or equal to 0. |
| 42 | 42 | * |
| 43 | 43 | * @param $value |
| 44 | + * @param string $name |
|
| 44 | 45 | */ |
| 45 | 46 | protected static function checkIfGreaterOrEqualToZero($name, $value) |
| 46 | 47 | { |
@@ -79,6 +79,9 @@ |
||
| 79 | 79 | return $this->getMaxQueryDepth() !== static::DISABLED; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | + /** |
|
| 83 | + * @param Node $node |
|
| 84 | + */ |
|
| 82 | 85 | private function fieldDepth($node, $depth = 0, $maxDepth = 0) |
| 83 | 86 | { |
| 84 | 87 | if (isset($node->selectionSet) && $node->selectionSet instanceof SelectionSet) { |
@@ -79,6 +79,9 @@ |
||
| 79 | 79 | return $this->getMaxQueryDepth() !== static::DISABLED; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | + /** |
|
| 83 | + * @param Node $node |
|
| 84 | + */ |
|
| 82 | 85 | private function fieldDepth($node, $depth = 0, $maxDepth = 0) |
| 83 | 86 | { |
| 84 | 87 | if (isset($node->selectionSet) && $node->selectionSet instanceof SelectionSet) { |