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

Passed
Pull Request — master (#360)
by Jérémiah
13:10
created
src/DependencyInjection/Compiler/AliasedPass.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
         }
53 53
     }
54 54
 
55
+    /**
56
+     * @return string
57
+     */
55 58
     private function guessTagName(Definition $definition)
56 59
     {
57 60
         $tagName = null;
Please login to merge, or discard this patch.
src/Relay/Connection/Paginator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-     * @param Argument|array $args
132
+     * @param Argument $args
133 133
      *
134 134
      * @return Argument
135 135
      */
Please login to merge, or discard this patch.
src/Resolver/TypeResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
         return $this->cache[$alias];
28 28
     }
29 29
 
30
+    /**
31
+     * @param string $alias
32
+     */
30 33
     private function string2Type($alias)
31 34
     {
32 35
         if (false !== ($type = $this->wrapTypeIfNeeded($alias))) {
Please login to merge, or discard this patch.
src/Config/Parser/AnnotationParser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -468,7 +468,7 @@
 block discarded – undo
468 468
     /**
469 469
      * Parse annotation
470 470
      *
471
-     * @param mixed $annotation
471
+     * @param mixed $annotations
472 472
      *
473 473
      * @return array
474 474
      */
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@  discard block
 block discarded – undo
18 18
             throw new \Exception('In order to use annotation, you need to require doctrine ORM');
19 19
         }
20 20
 
21
-        $loader = require __DIR__ . '/../../../../autoload.php';
21
+        $loader = require __DIR__.'/../../../../autoload.php';
22 22
 
23 23
         \Doctrine\Common\Annotations\AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
24
-        \Doctrine\Common\Annotations\AnnotationRegistry::registerFile(__DIR__ . '/../../Annotation/GraphQLAnnotation.php');
24
+        \Doctrine\Common\Annotations\AnnotationRegistry::registerFile(__DIR__.'/../../Annotation/GraphQLAnnotation.php');
25 25
         $reader = new \Doctrine\Common\Annotations\AnnotationReader();
26 26
 
27 27
         return $reader;
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
             $entityName = substr($file->getFilename(), 0, -4);
44 44
             if (preg_match('#namespace (.+);#', $fileContent, $namespace)) {
45
-                $className = $namespace[1] . '\\' . $entityName;
45
+                $className = $namespace[1].'\\'.$entityName;
46 46
             } else {
47 47
                 $className = $entityName;
48 48
             }
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
             $alias => [
181 181
                 'type' => 'enum',
182 182
                 'config' => [
183
-                    'description' => $entityName . ' type',
183
+                    'description' => $entityName.' type',
184 184
                 ],
185 185
             ]
186 186
         ];
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
             $alias => [
263 263
                 'type' => $type,
264 264
                 'config' => [
265
-                    'description' => $entityName . ' type',
265
+                    'description' => $entityName.' type',
266 266
                     'fields' => [],
267 267
                 ],
268 268
             ]
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
         }
371 371
 
372 372
         $type = explode('\\', $type);
373
-        $type = $type[count($type)-1];
373
+        $type = $type[count($type) - 1];
374 374
 
375 375
         // Get the graphQL type representation
376 376
         // Specific case for ID and relation
Please login to merge, or discard this patch.
src/Annotation/GraphQLAnnotation.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once __DIR__ . '/GraphQLAccessControl.php';
4
-require_once __DIR__ . '/GraphQLAlias.php';
5
-require_once __DIR__ . '/GraphQLColumn.php';
6
-require_once __DIR__ . '/GraphQLDescription.php';
7
-require_once __DIR__ . '/GraphQLInputArgs.php';
8
-require_once __DIR__ . '/GraphQLMutation.php';
9
-require_once __DIR__ . '/GraphQLPublicControl.php';
10
-require_once __DIR__ . '/GraphQLQuery.php';
11
-require_once __DIR__ . '/GraphQLRelayMutation.php';
12
-require_once __DIR__ . '/GraphQLResolver.php';
13
-require_once __DIR__ . '/GraphQLToMany.php';
14
-require_once __DIR__ . '/GraphQLToOne.php';
15
-require_once __DIR__ . '/GraphQLType.php';
3
+require_once __DIR__.'/GraphQLAccessControl.php';
4
+require_once __DIR__.'/GraphQLAlias.php';
5
+require_once __DIR__.'/GraphQLColumn.php';
6
+require_once __DIR__.'/GraphQLDescription.php';
7
+require_once __DIR__.'/GraphQLInputArgs.php';
8
+require_once __DIR__.'/GraphQLMutation.php';
9
+require_once __DIR__.'/GraphQLPublicControl.php';
10
+require_once __DIR__.'/GraphQLQuery.php';
11
+require_once __DIR__.'/GraphQLRelayMutation.php';
12
+require_once __DIR__.'/GraphQLResolver.php';
13
+require_once __DIR__.'/GraphQLToMany.php';
14
+require_once __DIR__.'/GraphQLToOne.php';
15
+require_once __DIR__.'/GraphQLType.php';
Please login to merge, or discard this patch.