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

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