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

@@ 119-125 (lines=7) @@
116
            $this->convertPropertiesToQueryArray($properties),
117
            $this->convertPolicyIdArrayToQueryArray($policies)
118
        );
119
        if (!empty($removeAces)) {
120
            $queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
121
                $removeAces,
122
                Constants::CONTROL_REMOVE_ACE_PRINCIPAL,
123
                Constants::CONTROL_REMOVE_ACE_PERMISSION
124
            ));
125
        }
126
        if (!empty($addAces)) {
127
            $queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
128
                $addAces,
@@ 126-132 (lines=7) @@
123
                Constants::CONTROL_REMOVE_ACE_PERMISSION
124
            ));
125
        }
126
        if (!empty($addAces)) {
127
            $queryArray = array_replace($queryArray, $this->convertAclToQueryArray(
128
                $addAces,
129
                Constants::CONTROL_ADD_ACE_PRINCIPAL,
130
                Constants::CONTROL_ADD_ACE_PERMISSION
131
            ));
132
        }
133
        return $queryArray;
134
    }
135

src/Bindings/Browser/VersioningService.php 2 locations

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