Test Setup Failed
Push — master ( ec638a...cb9435 )
by Julito
51:10
created

StudentFollowUpPlugin::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 6

Duplication

Lines 10
Ratio 100 %

Importance

Changes 0
Metric Value
cc 1
eloc 6
nc 1
nop 0
dl 10
loc 10
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/* For licensing terms, see /license.txt */
3
4
/**
5
 * Class StudentFollowUpPlugin
6
 */
7 View Code Duplication
class StudentFollowUpPlugin extends Plugin
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
8
{
9
    /**
10
     * @return StudentFollowUpPlugin
11
     */
12
    public static function create()
13
    {
14
        static $result = null;
15
        return $result ? $result : $result = new self();
16
    }
17
18
    /**
19
     * StudentFollowUpPlugin constructor.
20
     */
21
    protected function __construct()
22
    {
23
        parent::__construct(
24
            '0.1',
25
            'Julio Montoya',
26
            array(
27
                'tool_enable' => 'boolean'
28
            )
29
        );
30
    }
31
32
    /**
33
     *
34
     */
35
    public function install()
36
    {
37
38
    }
39
40
    /**
41
     *
42
     */
43
    public function uninstall()
44
    {
45
46
    }
47
}
48