Code Duplication    Length = 8-8 lines in 2 locations

lib/Solidifier/EventSubscribers/Console.php 1 location

@@ 19-26 (lines=8) @@
16
        $currentFile,
17
        $output;
18
    
19
    public static function getSubscribedEvents()
20
    {
21
        return array(
22
            Defect::EVENT_NAME => array('onDefect'),
23
            TraverseEnd::EVENT_NAME => array('postMortemReport'),
24
            ChangeFile::EVENT_NAME => array('setCurrentFile'),
25
        );
26
    }
27
28
    public function __construct()
29
    {

lib/Solidifier/EventSubscribers/HTML.php 1 location

@@ 38-45 (lines=8) @@
35
        return $this;
36
    }
37
    
38
    public static function getSubscribedEvents()
39
    {
40
        return array(
41
            Defect::EVENT_NAME => array('onDefect'),
42
            TraverseEnd::EVENT_NAME => array('postMortemReport'),
43
            ChangeFile::EVENT_NAME => array('setCurrentFile'),
44
        );
45
    }
46
    
47
    public function setCurrentFile(ChangeFile $event)
48
    {