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

@@ 134-148 (lines=15) @@
131
            // Page range by max page numbers /END
132
133
            // Prev
134
            if ($currentPage > 1) {
135
                $routeParameters = array_merge(
136
                    $routeParameters,
137
                    array(
138
                        $pagination->getPaginatorOption('pageParameterName') => $currentPage - 1,
139
                    )
140
                );
141
142
                $prevUrl = $this->app['url_generator']->generate(
143
                    $route,
144
                    $routeParameters
145
                );
146
            } else {
147
                $prevUrl = '#';
148
            }
149
            // Prev /END
150
151
            // Next
@@ 152-166 (lines=15) @@
149
            // Prev /END
150
151
            // Next
152
            if ($currentPage < $pageCount) {
153
                $routeParameters = array_merge(
154
                    $routeParameters,
155
                    array(
156
                        $pagination->getPaginatorOption('pageParameterName') => $currentPage + 1,
157
                    )
158
                );
159
160
                $nextUrl = $this->app['url_generator']->generate(
161
                    $route,
162
                    $routeParameters
163
                );
164
            } else {
165
                $nextUrl = '#';
166
            }
167
            // Next /END
168
169
            $output = $this->app['twig']->render(