GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 9-9 lines in 5 locations

src/Identity/v3/Models/Domain.php 2 locations

@@ 97-105 (lines=9) @@
94
     *
95
     * @return bool
96
     */
97
    public function checkUserRole(array $options = []): bool
98
    {
99
        try {
100
            $this->execute($this->api->headUserRole(), ['domainId' => $this->id] + $options);
101
            return true;
102
        } catch (BadResponseError $e) {
103
            return false;
104
        }
105
    }
106
107
    /**
108
     * @param array $options {@see \OpenStack\Identity\v3\Api::deleteUserRole}
@@ 139-147 (lines=9) @@
136
     *
137
     * @return bool
138
     */
139
    public function checkGroupRole(array $options = []): bool
140
    {
141
        try {
142
            $this->execute($this->api->headGroupRole(), ['domainId' => $this->id] + $options);
143
            return true;
144
        } catch (BadResponseError $e) {
145
            return false;
146
        }
147
    }
148
149
    /**
150
     * @param array $options {@see \OpenStack\Identity\v3\Api::deleteGroupRole}

src/Identity/v3/Models/Group.php 1 location

@@ 107-115 (lines=9) @@
104
     *
105
     * @return bool
106
     */
107
    public function checkMembership(array $options): bool
108
    {
109
        try {
110
            $this->execute($this->api->headGroupUser(), ['groupId' => $this->id] + $options);
111
            return true;
112
        } catch (BadResponseError $e) {
113
            return false;
114
        }
115
    }
116
}
117

src/Identity/v3/Models/Project.php 2 locations

@@ 109-117 (lines=9) @@
106
     *
107
     * @return bool
108
     */
109
    public function checkUserRole(array $options): bool
110
    {
111
        try {
112
            $this->execute($this->api->headProjectUserRole(), ['projectId' => $this->id] + $options);
113
            return true;
114
        } catch (BadResponseError $e) {
115
            return false;
116
        }
117
    }
118
119
    /**
120
     * @param array $options {@see \OpenStack\Identity\v3\Api::deleteProjectUserRole}
@@ 151-159 (lines=9) @@
148
     *
149
     * @return bool
150
     */
151
    public function checkGroupRole(array $options): bool
152
    {
153
        try {
154
            $this->execute($this->api->headProjectGroupRole(), ['projectId' => $this->id] + $options);
155
            return true;
156
        } catch (BadResponseError $e) {
157
            return false;
158
        }
159
    }
160
161
    /**
162
     * @param array $options {@see \OpenStack\Identity\v3\Api::deleteProjectGroupRole}