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

@@ 127-133 (lines=7) @@
124
                Constants::CONTROL_REMOVE_ACE_PERMISSION
125
            ));
126
        }
127
        if (!empty($addAces)) {
128
            $queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
129
                $addAces,
130
                Constants::CONTROL_ADD_ACE_PRINCIPAL,
131
                Constants::CONTROL_ADD_ACE_PERMISSION
132
            ));
133
        }
134
        return $queryArray;
135
    }
136

src/Bindings/Browser/VersioningService.php 2 locations

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