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

src/Kunstmaan/Skylab/Provider/FileSystemProvider.php 2 locations

@@ 196-211 (lines=16) @@
193
     * @param  \ArrayObject $project
194
     * @return array
195
     */
196
    public function getProjectApacheConfigs(\ArrayObject $project)
197
    {
198
        $finder = new Finder();
199
        $finder->files()
200
            ->sortByName()
201
            ->in($this->getProjectConfigDirectory($project["name"]) . "/apache.d/")
202
            ->ignoreVCS(true)
203
            ->ignoreDotFiles(true)
204
            ->notName("*~")
205
            ->notName("*.swp")
206
            ->notName("*.bak")
207
            ->notName("*-")
208
            ->depth('== 0');
209
210
        return iterator_to_array($finder);
211
    }
212
213
    /**
214
     * @param  \ArrayObject $project
@@ 217-232 (lines=16) @@
214
     * @param  \ArrayObject $project
215
     * @return array
216
     */
217
    public function getProjectNginxConfigs(\ArrayObject $project)
218
    {
219
        $finder = new Finder();
220
        $finder->files()
221
            ->sortByName()
222
            ->in($this->getProjectConfigDirectory($project["name"]) . "/nginx.d/")
223
            ->ignoreVCS(true)
224
            ->ignoreDotFiles(true)
225
            ->notName("*~")
226
            ->notName("*.swp")
227
            ->notName("*.bak")
228
            ->notName("*-")
229
            ->depth('== 0');
230
231
        return iterator_to_array($finder);
232
    }
233
234
    /**
235
     * @param $path