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

src/Bindings/Browser/ObjectService.php 4 locations

@@ 147-153 (lines=7) @@
144
		if ($contentStream) {
145
			$queryArray['content'] = $contentStream;
146
		}
147
		if (!empty($removeAces)) {
148
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
149
				$removeAces,
150
				Constants::CONTROL_REMOVE_ACE_PRINCIPAL,
151
				Constants::CONTROL_REMOVE_ACE_PERMISSION
152
			));
153
		}
154
		if (!empty($addAces)) {
155
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
156
				$addAces,
@@ 154-160 (lines=7) @@
151
				Constants::CONTROL_REMOVE_ACE_PERMISSION
152
			));
153
		}
154
		if (!empty($addAces)) {
155
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
156
				$addAces,
157
				Constants::CONTROL_ADD_ACE_PRINCIPAL,
158
				Constants::CONTROL_ADD_ACE_PERMISSION
159
			));
160
		}
161
        if ($versioningState !== null) {
162
            $queryArray[Constants::PARAM_VERSIONING_STATE] = (string) $versioningState;
163
        }
@@ 220-226 (lines=7) @@
217
			$this->convertPropertiesToQueryArray($properties),
218
			$this->convertPolicyIdArrayToQueryArray($policies)
219
		);
220
		if (!empty($removeAces)) {
221
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
222
				$removeAces,
223
				Constants::CONTROL_REMOVE_ACE_PRINCIPAL,
224
				Constants::CONTROL_REMOVE_ACE_PERMISSION
225
			));
226
		}
227
		if (!empty($addAces)) {
228
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
229
				$addAces,
@@ 227-233 (lines=7) @@
224
				Constants::CONTROL_REMOVE_ACE_PERMISSION
225
			));
226
		}
227
		if (!empty($addAces)) {
228
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
229
				$addAces,
230
				Constants::CONTROL_ADD_ACE_PRINCIPAL,
231
				Constants::CONTROL_ADD_ACE_PERMISSION
232
			));
233
		}
234
		if ($versioningState !== null) {
235
			$queryArray[Constants::PARAM_VERSIONING_STATE] = (string) $versioningState;
236
		}