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

src/Application/Twig/PaginatorExtension.php 2 locations

@@ 159-173 (lines=15) @@
156
            // Page range by max page numbers /END
157
158
            // Prev
159
            if ($currentPage > 1) {
160
                $routeParameters = array_merge(
161
                    $routeParameters,
162
                    array(
163
                        $pagination->getPaginatorOption('pageParameterName') => $currentPage - 1,
164
                    )
165
                );
166
167
                $prevUrl = $this->app['url_generator']->generate(
168
                    $route,
169
                    $routeParameters
170
                );
171
            } else {
172
                $prevUrl = '#';
173
            }
174
            // Prev /END
175
176
            // Next
@@ 177-191 (lines=15) @@
174
            // Prev /END
175
176
            // Next
177
            if ($currentPage < $pageCount) {
178
                $routeParameters = array_merge(
179
                    $routeParameters,
180
                    array(
181
                        $pagination->getPaginatorOption('pageParameterName') => $currentPage + 1,
182
                    )
183
                );
184
185
                $nextUrl = $this->app['url_generator']->generate(
186
                    $route,
187
                    $routeParameters
188
                );
189
            } else {
190
                $nextUrl = '#';
191
            }
192
            // Next /END
193
194
            $output = $this->app['twig']->render(