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

Code Duplication    Length = 9-9 lines in 2 locations

Tests/Functional/Controller/GraphControllerTest.php 2 locations

@@ 71-79 (lines=9) @@
68
     * @param $uri
69
     * @dataProvider graphQLEndpointUriProvider
70
     */
71
    public function testEndpointAction($uri)
72
    {
73
        $client = static::createClient(['test_case' => 'connectionWithCORS']);
74
75
        $client->request('GET', $uri, ['query' => $this->friendsQuery], [], ['CONTENT_TYPE' => 'application/graphql', 'HTTP_Origin' => 'http://example.com']);
76
        $result = $client->getResponse()->getContent();
77
        $this->assertEquals(['data' => $this->expectedData], json_decode($result, true), $result);
78
        $this->assertCORSHeadersExists($client);
79
    }
80
81
    public function graphQLEndpointUriProvider()
82
    {
@@ 294-302 (lines=9) @@
291
        $this->assertCORSHeadersExists($client);
292
    }
293
294
    public function testNoCORSHeadersIfOriginHeaderNotExists()
295
    {
296
        $client = static::createClient(['test_case' => 'connectionWithCORS']);
297
298
        $client->request('GET', '/', ['query' => $this->friendsQuery], [], ['CONTENT_TYPE' => 'application/graphql']);
299
        $result = $client->getResponse()->getContent();
300
        $this->assertEquals(['data' => $this->expectedData], json_decode($result, true), $result);
301
        $this->assertCORSHeadersNotExists($client);
302
    }
303
304
    private function assertCORSHeadersNotExists(Client $client)
305
    {