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

src/Bindings/Browser/VersioningService.php 2 locations

@@ 35-47 (lines=13) @@
32
     * @param string $objectId the identifier for the PWC
33
     * @param ExtensionDataInterface|null $extension
34
     */
35
    public function cancelCheckOut($repositoryId, & $objectId, ExtensionDataInterface $extension = null)
36
    {
37
		$objectId = $this->getJsonConverter()->convertObject(
38
			$this->post(
39
				$this->getObjectUrl($repositoryId, $objectId),
40
				$this->createQueryArray(
41
					Constants::CMISACTION_CANCEL_CHECK_OUT,
42
					array(),
43
					$extension
44
				)
45
			)->json()
46
		);
47
    }
48
49
    /**
50
     * Checks-in the private working copy (PWC) document.
@@ 136-153 (lines=18) @@
133
     * @param boolean|null $contentCopied output: indicator if the content of the original
134
     *      document has been copied to the PWC
135
     */
136
    public function checkOut(
137
        $repositoryId,
138
        & $objectId,
139
        ExtensionDataInterface $extension = null,
140
        $contentCopied = null
141
    ) {
142
		$objectData = $this->getJsonConverter()->convertObject(
143
			$this->post(
144
				$this->getObjectUrl($repositoryId, $objectId),
145
				$this->createQueryArray(
146
					Constants::CMISACTION_CHECK_OUT,
147
					array(),
148
					$extension
149
				)
150
			)->json()
151
		);
152
		$objectId = $objectData->getId();
153
    }
154
155
    /**
156
     * Returns the list of all document objects in the specified version series,