Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Pull Request — 0.8 (#162)
by Jérémiah
14:11
created
DependencyInjection/TypesConfiguration.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -152,6 +152,10 @@
 block discarded – undo
152 152
             ->end();
153 153
     }
154 154
 
155
+    /**
156
+     * @param string $typeToTreat
157
+     * @param string $definitionBuilderClass
158
+     */
155 159
     private function relayNormalizer($typeToTreat, $definitionBuilderClass)
156 160
     {
157 161
         return function ($types) use ($typeToTreat, $definitionBuilderClass) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
                         ->thenInvalid(
70 70
                             sprintf(
71 71
                                 'Don\'t use internal config keys %s, replace it by "config" instead.',
72
-                                implode(', ',  $configTypeKeys)
72
+                                implode(', ', $configTypeKeys)
73 73
                             )
74 74
                         )
75 75
                 ->end()
Please login to merge, or discard this patch.
Config/TypeWithOutputFieldsDefinition.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@  discard block
 block discarded – undo
54 54
         self::$fieldBuilderClassMap[$name] = $fieldBuilderClass;
55 55
     }
56 56
 
57
+    /**
58
+     * @param string $type
59
+     */
57 60
     protected static function checkBuilderClass($builderClass, $type)
58 61
     {
59 62
         $interface = 'Overblog\\GraphQLBundle\\Definition\\Builder\\MappingInterface';
@@ -116,6 +119,9 @@  discard block
 block discarded – undo
116 119
         throw new InvalidConfigurationException(sprintf('%s builder "%s" not found.', ucfirst($type), $name));
117 120
     }
118 121
 
122
+    /**
123
+     * @param string $name
124
+     */
119 125
     protected function outputFieldsSelection($name)
120 126
     {
121 127
         $builder = new TreeBuilder();
Please login to merge, or discard this patch.
Tests/DIContainerMockTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
  */
19 19
 trait DIContainerMockTrait
20 20
 {
21
+    /**
22
+     * @return null|\Symfony\Component\DependencyInjection\ContainerInterface
23
+     */
21 24
     private function getDIContainerMock(array $services = [], array $parameters = [])
22 25
     {
23 26
         $container = $this->getMockBuilder('Symfony\\Component\\DependencyInjection\\Container')
Please login to merge, or discard this patch.
Tests/Functional/Relay/Connection/ConnectionTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $expectedData = [
49 49
             'user' => [
50 50
                 'friends' => [
51
-                   'totalCount' => 4,
51
+                    'totalCount' => 4,
52 52
                     'edges' => [
53 53
                         [
54 54
                             'friendshipTime' => 'Yesterday',
Please login to merge, or discard this patch.
Tests/Functional/Controller/GraphControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
         $client->request('POST', $uri, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($data));
208 208
         $result = $client->getResponse()->getContent();
209 209
 
210
-        $expected  = [
210
+        $expected = [
211 211
             ['id' => 'friends', 'payload' => ['data' => $this->expectedData]],
212 212
             ['id' => 'friendsTotalCount', 'payload' => ['data' => ['user' => ['friends' => ['totalCount' => 4]]]]],
213 213
         ];
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -162,6 +162,9 @@  discard block
 block discarded – undo
162 162
         return $treeBuilder;
163 163
     }
164 164
 
165
+    /**
166
+     * @param string $name
167
+     */
165 168
     private function addBuilderSection($name)
166 169
     {
167 170
         $builder = new TreeBuilder();
@@ -195,6 +198,9 @@  discard block
 block discarded – undo
195 198
         return $node;
196 199
     }
197 200
 
201
+    /**
202
+     * @param string $name
203
+     */
198 204
     private function addSecurityQuerySection($name, $disabledValue)
199 205
     {
200 206
         $builder = new TreeBuilder();
Please login to merge, or discard this patch.
Request/Executor.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -88,6 +88,9 @@  discard block
 block discarded – undo
88 88
         return $this;
89 89
     }
90 90
 
91
+    /**
92
+     * @param string $name
93
+     */
91 94
     public function addSchema($name, Schema $schema)
92 95
     {
93 96
         $this->schemas[$name] = $schema;
@@ -192,6 +195,11 @@  discard block
 block discarded – undo
192 195
         return $this->prepareResult($result, $startTime, $startMemoryUsage);
193 196
     }
194 197
 
198
+    /**
199
+     * @param ExecutionResult $result
200
+     * @param double $startTime
201
+     * @param integer $startMemoryUsage
202
+     */
195 203
     private function prepareResult($result, $startTime, $startMemoryUsage)
196 204
     {
197 205
         if ($this->hasDebugInfo()) {
Please login to merge, or discard this patch.
DependencyInjection/OverblogGraphQLTypesExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         if (!empty($config['definitions']['mappings']['types'])) {
106 106
             $typesMappings = array_filter(array_map(
107 107
                 function (array $typeMapping) use ($container) {
108
-                    $params = $this->detectConfigFiles($container, $typeMapping['dir'],  $typeMapping['type']);
108
+                    $params = $this->detectConfigFiles($container, $typeMapping['dir'], $typeMapping['type']);
109 109
 
110 110
                     return $params;
111 111
                 },
Please login to merge, or discard this patch.