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

phpmyfaq/inc/PMF/Helper/Faq.php 2 locations

@@ 107-123 (lines=17) @@
104
     *
105
     * @return string
106
     */
107
    public function renderFacebookShareLink($url)
108
    {
109
        if (empty($url) || $this->_config->get('socialnetworks.disableAll') === true) {
110
            return '';
111
        }
112
113
        $icon = '<span class="fa-stack fa-lg">
114
                        <i class="fa fa-square-o fa-stack-2x"></i>
115
                        <i class="fa fa-facebook fa-stack-1x"></i>
116
                    </span>';
117
118
        return sprintf(
119
            '<a href="%s" target="_blank">%s</a>',
120
            $url,
121
            $icon
122
        );
123
    }
124
125
    /**
126
     * Renders a Share on Twitter link.
@@ 132-148 (lines=17) @@
129
     *
130
     * @return string
131
     */
132
    public function renderTwitterShareLink($url)
133
    {
134
        if (empty($url) || $this->_config->get('socialnetworks.disableAll') === true) {
135
            return '';
136
        }
137
138
        $icon = '<span class="fa-stack fa-lg">
139
                        <i class="fa fa-square-o fa-stack-2x"></i>
140
                        <i class="fa fa-twitter fa-stack-1x"></i>
141
                    </span>';
142
143
        return sprintf(
144
            '<a href="%s" target="_blank">%s</a>',
145
            $url,
146
            $icon
147
        );
148
    }
149
150
    /**
151
     * Renders a select box with all translations of a FAQ.