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 ( 70e47f...dda101 )
by Mark
07:55
created

NewslettersController   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 40
rs 10
c 0
b 0
f 0
wmc 4
lcom 0
cbo 1

4 Methods

Rating   Name   Duplication   Size   Complexity  
A icon() 0 4 1
A version() 0 4 1
A install() 0 4 1
A uninstall() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Marky
5
 * Date: 23/01/2018
6
 * Time: 15:14.
7
 */
8
9
namespace App\Plugins\Newsletters;
10
11
use App\Plugins\PluginHandler;
12
use App\Classes\Interfaces\Installable;
13
14
/**
15
 * Class NewsletterController.
16
 */
17
class NewslettersController extends PluginHandler implements Installable
18
{
19
    /**
20
     * Return the icon associated with this plugin.
21
     */
22
    public function icon()
23
    {
24
        return 'fa-book';
25
    }
26
27
    /**
28
     * Return the version for this plugin.
29
     */
30
    public function version()
31
    {
32
        return '1.0';
33
    }
34
35
    /**
36
     * The steps required for this plugin product to fully
37
     * integrate into the webservice.
38
     *
39
     * @return bool
0 ignored issues
show
Documentation introduced by
Should the return type not be boolean|null?

This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.

Loading history...
40
     */
41
    public function install()
42
    {
43
        // TODO: Implement install() method.
44
    }
45
46
    /**
47
     * The steps required for this plugin product to fully
48
     * remove itself from the webservice.
49
     *
50
     * @return bool
0 ignored issues
show
Documentation introduced by
Should the return type not be boolean|null?

This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.

Loading history...
51
     */
52
    public function uninstall()
53
    {
54
        // TODO: Implement uninstall() method.
55
    }
56
}
57