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 3 locations

src/Bindings/Browser/ObjectService.php 1 location

@@ 117-123 (lines=7) @@
114
                Constants::CONTROL_REMOVE_ACE_PERMISSION
115
            ));
116
        }
117
        if (!empty($addAces)) {
118
            $queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
119
                $addAces,
120
                Constants::CONTROL_ADD_ACE_PRINCIPAL,
121
                Constants::CONTROL_ADD_ACE_PERMISSION
122
            ));
123
        }
124
        return $queryArray;
125
    }
126

src/Bindings/Browser/VersioningService.php 2 locations

@@ 103-109 (lines=7) @@
100
				$this->convertPolicyIdArrayToQueryArray($policies)
101
			);
102
		}
103
		if (!empty($removeAces)) {
104
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
105
				$removeAces,
106
				Constants::CONTROL_REMOVE_ACE_PRINCIPAL,
107
				Constants::CONTROL_REMOVE_ACE_PERMISSION
108
			));
109
		}
110
		if (!empty($addAces)) {
111
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
112
				$addAces,
@@ 110-116 (lines=7) @@
107
				Constants::CONTROL_REMOVE_ACE_PERMISSION
108
			));
109
		}
110
		if (!empty($addAces)) {
111
			$queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
112
				$addAces,
113
				Constants::CONTROL_ADD_ACE_PRINCIPAL,
114
				Constants::CONTROL_ADD_ACE_PERMISSION
115
			));
116
		}
117
		if ($contentStream) {
118
			$queryArray['content'] = $contentStream;
119
		}