Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Code Duplication    Length = 12-12 lines in 2 locations

app/Plugins/Articles/FrontendController.php 1 location

@@ 119-130 (lines=12) @@
116
     * @param SitemapGenerator $sitemap
117
     * @return SitemapGenerator
118
     */
119
    public function sitemap(SitemapGenerator $sitemap)
120
    {
121
        /** @var ArticleRepository $repository */
122
        $repository = app(ArticleRepository::class);
123
124
        /** @var Article $article */
125
        foreach ($repository->whereSitemappable() as $article) {
126
            $sitemap->store(url($article->route()), $article->updated_at, 'weekly', '1.0');
127
        }
128
129
        return $sitemap;
130
    }
131
}
132

app/Plugins/Pages/FrontendController.php 1 location

@@ 29-40 (lines=12) @@
26
     * @param SitemapGenerator $sitemap
27
     * @return SitemapGenerator
28
     */
29
    public function sitemap(SitemapGenerator $sitemap)
30
    {
31
        /** @var PageRepository $repository */
32
        $repository = app(PageRepository::class);
33
34
        /** @var Page $page */
35
        foreach ($repository->whereSitemap() as $page) {
36
            $sitemap->store(url($page->route()), $page->updated_at, 'bi-weekly', '1.0');
37
        }
38
39
        return $sitemap;
40
    }
41
}
42