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

symphony/lib/toolkit/data-sources/class.datasource.dynamic_xml.php 2 locations

@@ 131-137 (lines=7) @@
128
129
                        $result->appendChild(new XMLElement('error', __('Data returned is invalid.')));
130
131
                        foreach ($errors as $e) {
132
                            if (strlen(trim($e['message'])) === 0) {
133
                                continue;
134
                            }
135
136
                            $element->appendChild(new XMLElement('item', General::sanitize($e['message'])));
137
                        }
138
139
                        $result->appendChild($element);
140
@@ 188-194 (lines=7) @@
185
                $result->appendChild($error);
186
                $element = new XMLElement('errors');
187
188
                foreach ($proc->getError() as $e) {
189
                    if (strlen(trim($e['message'])) === 0) {
190
                        continue;
191
                    }
192
193
                    $element->appendChild(new XMLElement('item', General::sanitize($e['message'])));
194
                }
195
196
                $result->appendChild($element);
197
            } elseif (strlen(trim($ret)) === 0) {

symphony/lib/toolkit/data-sources/class.datasource.static.php 1 location

@@ 27-33 (lines=7) @@
24
25
            $element = new XMLElement('errors');
26
27
            foreach ($errors as $e) {
28
                if (strlen(trim($e['message'])) === 0) {
29
                    continue;
30
                }
31
32
                $element->appendChild(new XMLElement('item', General::sanitize($e['message'])));
33
            }
34
            $result->appendChild($element);
35
        } else {
36
            $result->setValue($this->dsParamSTATIC);