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
Push — master ( d6c7a2...be250e )
by Jérémiah
36s
created
Definition/MergeFieldTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     protected function getFieldsWithDefaults($fields, array $defaultFields, $forceArray = true)
17 17
     {
18
-        $callback = function () use ($fields, $defaultFields) {
18
+        $callback = function() use ($fields, $defaultFields) {
19 19
             if (empty($fields)) {
20 20
                 return $defaultFields;
21 21
             }
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
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $expectedData = [
50 50
             'user' => [
51 51
                 'friends' => [
52
-                   'totalCount' => 4,
52
+                    'totalCount' => 4,
53 53
                     'edges'     => [
54 54
                         [
55 55
                             'friendshipTime' => 'Yesterday',
Please login to merge, or discard this patch.
Relay/Node/NodeField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             'args'        => [
37 37
                 'id' => ['type' => Type::nonNull(Type::id()), 'description' => 'The ID of an object'],
38 38
             ],
39
-            'resolve' => function ($obj, $args, $info) use ($idFetcher) {
39
+            'resolve' => function($obj, $args, $info) use ($idFetcher) {
40 40
                 if (empty($args['id'])) {
41 41
                     throw new \InvalidArgumentException(
42 42
                         'Argument "id" is required but not provided.'
Please login to merge, or discard this patch.
Relay/Mutation/MutationField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             'args'        => [
48 48
                 'input' => ['type' => Type::nonNull($inputType)],
49 49
             ],
50
-            'resolve' => function ($_, $input, $info) use ($mutateAndGetPayload, $name) {
50
+            'resolve' => function($_, $input, $info) use ($mutateAndGetPayload, $name) {
51 51
                 $payload = $mutateAndGetPayload($input['input'], $info);
52 52
                 $payload['clientMutationId'] = $input['input']['clientMutationId'];
53 53
 
Please login to merge, or discard this patch.
Relay/Connection/Output/ConnectionBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             $edges,
126 126
             new PageInfo(
127 127
                 $firstEdge instanceof Edge ? $firstEdge->cursor : null,
128
-                $lastEdge instanceof Edge  ? $lastEdge->cursor : null,
128
+                $lastEdge instanceof Edge ? $lastEdge->cursor : null,
129 129
                 $last !== null ? $startOffset > $lowerBound : false,
130 130
                 $first !== null ? $endOffset < $upperBound : false
131 131
             )
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         }
179 179
         $offset = static::cursorToOffset($cursor);
180 180
 
181
-        return !is_numeric($offset) ?  $defaultOffset : (int) $offset;
181
+        return !is_numeric($offset) ? $defaultOffset : (int) $offset;
182 182
     }
183 183
 
184 184
     /**
Please login to merge, or discard this patch.
DependencyInjection/OverblogGraphQLExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,9 +103,9 @@  discard block
 block discarded – undo
103 103
         // from config
104 104
         if (!empty($config['definitions']['mappings']['types'])) {
105 105
             $typesMappings = array_filter(array_map(
106
-                function (array $typeMapping) use ($container) {
106
+                function(array $typeMapping) use ($container) {
107 107
 
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
                 },
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                     case 'xml':
149 149
                         try {
150 150
                             //@todo fix xml validateSchema
151
-                            $xml = XmlUtils::loadFile($file->getRealPath());//, array($this, 'validateSchema'));
151
+                            $xml = XmlUtils::loadFile($file->getRealPath()); //, array($this, 'validateSchema'));
152 152
                             foreach ($xml->documentElement->childNodes as $node) {
153 153
                                 if (!$node instanceof \DOMElement) {
154 154
                                     continue;
Please login to merge, or discard this patch.
Relay/Node/PluralIdentifyingRootField.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,15 +43,14 @@
 block discarded – undo
43 43
             'description' => isset($config['description']) ? $config['description'] : null,
44 44
             'type' => Type::listOf($config['outputType']),
45 45
             'args' => $inputArgs,
46
-            'resolve' => function ($obj, $args, $info) use ($config) {
46
+            'resolve' => function($obj, $args, $info) use ($config) {
47 47
                 $inputs = $args[$config['argName']];
48 48
 
49 49
                 $data = [];
50 50
 
51 51
                 foreach ($inputs as $input) {
52 52
                     $data[$input] = is_callable($config['resolveSingleInput']) ?
53
-                        call_user_func_array($config['resolveSingleInput'], [$input, $info]) :
54
-                        null;
53
+                        call_user_func_array($config['resolveSingleInput'], [$input, $info]) : null;
55 54
                 }
56 55
 
57 56
                 return $data;
Please login to merge, or discard this patch.
Relay/Node/GlobalIdField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             'name' => $name,
35 35
             'description' => 'The ID of an object',
36 36
             'type' => Type::nonNull(Type::id()),
37
-            'resolve' => function ($obj, $args, ResolveInfo $info) use ($idFetcher, $typeName) {
37
+            'resolve' => function($obj, $args, ResolveInfo $info) use ($idFetcher, $typeName) {
38 38
                 return GlobalId::toGlobalId(
39 39
                     !empty($typeName) ? $typeName : $info->parentType->name,
40 40
                     is_callable($idFetcher) ? call_user_func_array($idFetcher, [$obj, $info]) : (is_object($obj) ? $obj->id : $obj['id'])
Please login to merge, or discard this patch.
ExpressionLanguage/ConfigExpressionProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,37 +20,37 @@
 block discarded – undo
20 20
     public function getFunctions()
21 21
     {
22 22
         return [
23
-            new ExpressionFunction('service', function () {}, function (array $variables, $value) {
23
+            new ExpressionFunction('service', function() {}, function(array $variables, $value) {
24 24
                 return $variables['container']->get($value);
25 25
             }),
26 26
 
27
-            new ExpressionFunction('parameter', function () {}, function (array $variables, $value) {
27
+            new ExpressionFunction('parameter', function() {}, function(array $variables, $value) {
28 28
                 return $variables['container']->getParameter($value);
29 29
             }),
30 30
 
31
-            new ExpressionFunction('isTypeOf', function () {}, function (array $variables, $className) {
31
+            new ExpressionFunction('isTypeOf', function() {}, function(array $variables, $className) {
32 32
                 return $variables['value'] instanceof $className;
33 33
             }),
34 34
 
35
-            new ExpressionFunction('resolver', function () {}, function (array $variables, $alias, array $args = []) {
35
+            new ExpressionFunction('resolver', function() {}, function(array $variables, $alias, array $args = []) {
36 36
                 return $variables['container']->get('overblog_graphql.resolver_resolver')->resolve([$alias, $args]);
37 37
             }),
38 38
 
39
-            new ExpressionFunction('mutation', function () {}, function (array $variables, $alias, array $args = []) {
39
+            new ExpressionFunction('mutation', function() {}, function(array $variables, $alias, array $args = []) {
40 40
                 return $variables['container']->get('overblog_graphql.mutation_resolver')->resolve([$alias, $args]);
41 41
             }),
42 42
 
43
-            new ExpressionFunction('globalId', function () {}, function (array $variables, $id, $typeName = null) {
43
+            new ExpressionFunction('globalId', function() {}, function(array $variables, $id, $typeName = null) {
44 44
                 $type = !empty($typeName) ? $typeName : $variables['info']->parentType->name;
45 45
 
46 46
                 return GlobalId::toGlobalId($type, $id);
47 47
             }),
48 48
 
49
-            new ExpressionFunction('fromGlobalId', function () {}, function (array $variables, $globalId) {
49
+            new ExpressionFunction('fromGlobalId', function() {}, function(array $variables, $globalId) {
50 50
                 return GlobalId::fromGlobalId($globalId);
51 51
             }),
52 52
 
53
-            new ExpressionFunction('newObject', function () {}, function (array $variables, $className, array $args = []) {
53
+            new ExpressionFunction('newObject', function() {}, function(array $variables, $className, array $args = []) {
54 54
                 return (new \ReflectionClass($className))->newInstanceArgs($args);
55 55
             }),
56 56
         ];
Please login to merge, or discard this patch.