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

Controller::index()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Mark
5
 * Date: 23/03/2016
6
 * Time: 21:36.
7
 */
8
9
namespace App\Modules\Updates;
10
11
use App\Modules\ModuleEngine;
12
use App\Classes\Repositories\UpdateRepository;
13
14
/**
15
 * Class Controller.
16
 */
17
class Controller extends ModuleEngine
18
{
19
    /**
20
     * @var UpdateRepository
21
     */
22
    private $migrations;
23
24
    /**
25
     * Controller constructor.
26
     * @param UpdateRepository $migrations
27
     */
28
    public function __construct(UpdateRepository $migrations)
29
    {
30
        $this->migrations = $migrations;
31
    }
32
33
    /**
34
     * @return mixed
35
     */
36
    public function index()
37
    {
38
        return $this->make('view')->with('updates', $this->migrations->all());
39
    }
40
}
41