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 ( 4f5669...8f549c )
by Jérémiah
07:08
created
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.
Relay/Node/RawIdField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             'name' => $name,
33 33
             'description' => 'The raw ID of an object',
34 34
             'type' => Type::nonNull(Type::int()),
35
-            'resolve' => function ($obj, $args, ResolveInfo $info) use ($idFetcher) {
35
+            'resolve' => function($obj, $args, ResolveInfo $info) use ($idFetcher) {
36 36
                 return is_callable($idFetcher) ? $idFetcher($obj, $info) : $obj->id;
37 37
             },
38 38
         ];
Please login to merge, or discard this patch.
ExpressionLanguage/AuthorizationExpressionProvider.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@  discard block
 block discarded – undo
19 19
     public function getFunctions()
20 20
     {
21 21
         return [
22
-            new ExpressionFunction('hasRole', function ($role) {
22
+            new ExpressionFunction('hasRole', function($role) {
23 23
                 return sprintf('$authChecker->isGranted(%s)', $role);
24
-            }, function (array $variables, $role) {
24
+            }, function(array $variables, $role) {
25 25
                 return $variables['container']->get('security.authorization_checker')->isGranted($role);
26 26
             }),
27 27
 
28
-            new ExpressionFunction('hasAnyRole', function (array $roles) {
28
+            new ExpressionFunction('hasAnyRole', function(array $roles) {
29 29
                 $compiler = 'false';
30 30
                 foreach ($roles as $role) {
31 31
                     $compiler .= ' || ';
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
                 }
34 34
 
35 35
                 return $compiler;
36
-            }, function (array $variables, array $roles) {
36
+            }, function(array $variables, array $roles) {
37 37
                 foreach ($roles as $role) {
38 38
                     if ($variables['container']->get('security.authorization_checker')->isGranted($role)) {
39 39
                         return true;
@@ -43,39 +43,39 @@  discard block
 block discarded – undo
43 43
                 return false;
44 44
             }),
45 45
 
46
-            new ExpressionFunction('isAnonymous', function () {
46
+            new ExpressionFunction('isAnonymous', function() {
47 47
                 return '$authChecker->isGranted("IS_AUTHENTICATED_ANONYMOUSLY")';
48
-            }, function (array $variables) {
48
+            }, function(array $variables) {
49 49
                 return $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_ANONYMOUSLY');
50 50
             }),
51 51
 
52
-            new ExpressionFunction('isRememberMe', function () {
52
+            new ExpressionFunction('isRememberMe', function() {
53 53
                 return '$authChecker->isGranted("IS_AUTHENTICATED_REMEMBERED")';
54
-            }, function (array $variables) {
54
+            }, function(array $variables) {
55 55
                 return $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_REMEMBERED');
56 56
             }),
57 57
 
58
-            new ExpressionFunction('isFullyAuthenticated', function () {
58
+            new ExpressionFunction('isFullyAuthenticated', function() {
59 59
                 return sprintf('$authChecker->isGranted("IS_AUTHENTICATED_FULLY")');
60
-            }, function (array $variables) {
60
+            }, function(array $variables) {
61 61
                 return $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_FULLY');
62 62
             }),
63 63
 
64
-            new ExpressionFunction('isAuthenticated', function () {
64
+            new ExpressionFunction('isAuthenticated', function() {
65 65
                 return '$authChecker->isGranted("IS_AUTHENTICATED_REMEMBERED") ||  $authChecker->isGranted("IS_AUTHENTICATED_FULLY")';
66
-            }, function (array $variables) {
66
+            }, function(array $variables) {
67 67
                 return
68 68
                     $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_REMEMBERED')
69 69
                     || $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_FULLY');
70 70
             }),
71 71
 
72
-            new ExpressionFunction('hasPermission', function ($object, $permission) {
72
+            new ExpressionFunction('hasPermission', function($object, $permission) {
73 73
                 return sprintf('$authChecker->isGranted(%s, $object)', $permission);
74
-            }, function (array $variables, $object, $permission) {
74
+            }, function(array $variables, $object, $permission) {
75 75
                 return $variables['container']->get('security.authorization_checker')->isGranted($permission, $object);
76 76
             }),
77 77
 
78
-            new ExpressionFunction('hasAnyPermission', function ($object, array $permissions) {
78
+            new ExpressionFunction('hasAnyPermission', function($object, array $permissions) {
79 79
                 $compiler = 'false';
80 80
                 foreach ($permissions as $permission) {
81 81
                     $compiler .= ' || ';
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 }
84 84
 
85 85
                 return $compiler;
86
-            }, function (array $variables, $object, array $permissions) {
86
+            }, function(array $variables, $object, array $permissions) {
87 87
                 foreach ($permissions as $permission) {
88 88
                     if ($variables['container']->get('security.authorization_checker')->isGranted($permission, $object)) {
89 89
                         return true;
Please login to merge, or discard this patch.