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 = 21-32 lines in 2 locations

Tests/Functional/Security/AccessTest.php 2 locations

@@ 48-68 (lines=21) @@
45
}
46
EOF;
47
48
    public function testNotAuthenticatedUserAccessToUserName()
49
    {
50
        $expected = [
51
            'data' => [
52
                'user' => [
53
                    'name' => null,
54
                ],
55
            ],
56
            'extensions' => [
57
                'warnings' => [
58
                    [
59
                        'message' => 'Access denied to this field.',
60
                        'locations' => [['line' => 1, 'column' => 16]],
61
                        'path' => ['user', 'name'],
62
                    ],
63
                ],
64
            ],
65
        ];
66
67
        $this->assertResponse($this->userNameQuery, $expected, static::ANONYMOUS_USER, 'access');
68
    }
69
70
    public function testFullyAuthenticatedUserAccessToUserName()
71
    {
@@ 106-137 (lines=32) @@
103
        $this->assertResponse($this->userRolesQuery, $expected, static::USER_ADMIN, 'access');
104
    }
105
106
    public function testUserForbiddenField()
107
    {
108
        $expected = [
109
            'data' => [
110
                'user' => null,
111
            ],
112
            'extensions' => [
113
                'warnings' => [
114
                    [
115
                        'message' => 'Access denied to this field.',
116
                        'locations' => [
117
                            [
118
                                'line' => 3,
119
                                'column' => 5,
120
                            ],
121
                        ],
122
                        'path' => ['user', 'forbidden'],
123
                    ],
124
                ],
125
            ],
126
        ];
127
128
        $query = <<<'EOF'
129
query MyQuery {
130
  user {
131
    forbidden
132
  }
133
}
134
EOF;
135
136
        $this->assertResponse($query, $expected, static::USER_ADMIN, 'access');
137
    }
138
139
    public function testUserAccessToUserFriends()
140
    {