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 — master (#18)
by Jérémiah
09:05
created
Tests/Functional/Controller/GraphControllerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $client = static::createClient(['test_case' => 'connection']);
144 144
 
145
-        $query = $this->friendsQuery . "\n" .$this->friendsTotalCountQuery;
145
+        $query = $this->friendsQuery."\n".$this->friendsTotalCountQuery;
146 146
 
147 147
         $client->request('POST', '/', ['query' => $query, 'operationName' => 'FriendsQuery'], [], ['CONTENT_TYPE' => 'application/x-www-form-urlencoded']);
148 148
         $result = $client->getResponse()->getContent();
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         $client->request('POST', '/?batch', [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($data));
166 166
         $result = $client->getResponse()->getContent();
167 167
 
168
-        $expected  = [
168
+        $expected = [
169 169
             'friends' => ['data' => $this->expectedData],
170 170
             'friendsTotalCount' => ['data' => ['user' => ['friends' => ['totalCount' => 4]]]],
171 171
         ];
Please login to merge, or discard this patch.
Request/BatchParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             throw new BadRequestHttpException('Must provide at least one valid query.');
30 30
         }
31 31
 
32
-        foreach($data as $i => &$entry) {
32
+        foreach ($data as $i => &$entry) {
33 33
             if (empty($entry[static::PARAM_QUERY]) || !is_string($entry[static::PARAM_QUERY])) {
34 34
                 throw new BadRequestHttpException(sprintf('No valid query found in node "%s"', $i));
35 35
             }
Please login to merge, or discard this patch.
Request/ParserInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 interface ParserInterface
18 18
 {
19
-    const CONTENT_TYPE_GRAPHQL ='application/graphql';
19
+    const CONTENT_TYPE_GRAPHQL = 'application/graphql';
20 20
     const CONTENT_TYPE_JSON = 'application/json';
21 21
     const CONTENT_TYPE_FORM = 'application/x-www-form-urlencoded';
22 22
     const CONTENT_TYPE_FORM_DATA = 'multipart/form-data';
Please login to merge, or discard this patch.