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 = 5-7 lines in 2 locations

symphony/content/content.blueprintsdatasources.php 1 location

@@ 997-1001 (lines=5) @@
994
995
        $link = $about['author']['name'];
996
997
        if (isset($about['author']['website'])) {
998
            $link = Widget::Anchor($about['author']['name'], General::validateURL($about['author']['website']));
999
        } elseif (isset($about['author']['email'])) {
1000
            $link = Widget::Anchor($about['author']['name'], 'mailto:' . $about['author']['email']);
1001
        }
1002
1003
        foreach ($about as $key => $value) {
1004
            $fieldset = null;

symphony/lib/toolkit/class.resourcespage.php 1 location

@@ 246-252 (lines=7) @@
243
                // Authors
244
                $author = $r['author']['name'];
245
246
                if ($author) {
247
                    if (isset($r['author']['website'])) {
248
                        $author = Widget::Anchor($r['author']['name'], General::validateURL($r['author']['website']));
249
                    } elseif (isset($r['author']['email'])) {
250
                        $author = Widget::Anchor($r['author']['name'], 'mailto:' . $r['author']['email']);
251
                    }
252
                }
253
254
                $author = Widget::TableData($author);
255