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

Completed
Push — master ( 5c7169...b34131 )
by Mark
08:19 queued 05:45
created

Webpage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 5

Importance

Changes 0
Metric Value
dl 0
loc 37
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 5

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Marky
5
 * Date: 31/12/2017
6
 * Time: 00:15.
7
 */
8
9
namespace App\Classes\Library\PageLoader;
10
11
use App\Model\Page as Model;
12
use App\Classes\SettingsManager;
13
use Illuminate\Support\Collection;
14
use App\Classes\Library\PageLoader\Cordinators\Page;
15
use App\Classes\Library\PageLoader\Cordinators\Site;
16
use App\Classes\Library\PageLoader\Cordinators\Contact;
17
use App\Classes\Library\PageLoader\Cordinators\Collections;
18
19
/**
20
 * Class Webpage.
21
 */
22
class Webpage
23
{
24
    /**
25
     * @var Page
26
     */
27
    public $page;
28
29
    /**
30
     * @var Contact
31
     */
32
    public $contact;
33
34
    /**
35
     * @var Site
36
     */
37
    public $site;
38
39
    /**
40
     * @var Collections
41
     */
42
    public $collections;
43
44
    /**
45
     * @param Model $model
46
     * @param Collection $navigationRepository
47
     */
48
    public function __construct(Model $model, Collection $navigationRepository)
49
    {
50
        $settings = app(SettingsManager::class);
51
        $navigation = new Navigation($navigationRepository);
52
53
        $this->page = new Page($model);
54
        $this->contact = new Contact($settings);
55
        $this->site = new Site($settings);
56
        $this->collections = new Collections($model, $navigation);
57
    }
58
}
59