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

src/Rentgen/Database/Constraint/ForeignKey.php 2 locations

@@ 162-169 (lines=8) @@
159
     *
160
     * @return void
161
     */
162
    public function setUpdateAction($updateAction)
163
    {
164
        $updateAction = strtoupper($updateAction);
165
        if (!in_array($updateAction, $this->getAvailableActions())) {
166
            throw new \InvalidArgumentException(sprintf('Action %s does not exist.', $updateAction));
167
        }
168
        $this->updateAction = $updateAction;
169
    }
170
171
    /**
172
     * Sets a delete action.
@@ 180-187 (lines=8) @@
177
     *
178
     * @return void
179
     */
180
    public function setDeleteAction($deleteAction)
181
    {
182
        $deleteAction = strtoupper($deleteAction);
183
        if (!in_array($deleteAction, $this->getAvailableActions())) {
184
           throw new \InvalidArgumentException(sprintf('Action %s does not exist.', $deleteAction));
185
        }
186
        $this->deleteAction = $deleteAction;
187
    }
188
189
    /**
190
     * Sets an update action on restrict.