We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -142,7 +142,7 @@ discard block |
||
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 |
||
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 | ]; |
@@ -29,7 +29,7 @@ |
||
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 | } |
@@ -16,7 +16,7 @@ |
||
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'; |