Code Duplication    Length = 24-24 lines in 2 locations

module/Core/src/Yawik.php 1 location

@@ 49-72 (lines=24) @@
46
     *
47
     * @return array
48
     */
49
    public static function getRequiredModules()
50
    {
51
        return array(
52
            'Zend\ServiceManager\Di',
53
            'Zend\Session',
54
            'Zend\Router',
55
            'Zend\Navigation',
56
            'Zend\I18n',
57
            'Zend\Filter',
58
            'Zend\InputFilter',
59
            'Zend\Form',
60
            'Zend\Validator',
61
            'Zend\Log',
62
            'Zend\Mvc\Plugin\Prg',
63
            'Zend\Mvc\Plugin\Identity',
64
            'Zend\Mvc\Plugin\FlashMessenger',
65
            'Zend\Mvc\I18n',
66
            'Zend\Mvc\Console',
67
            'Zend\Hydrator',
68
            'Zend\Serializer',
69
            'DoctrineModule',
70
            'DoctrineMongoODMModule',
71
        );
72
    }
73
74
    /**
75
     * Generate modules to be loaded for Yawik application

module/Core/src/Application.php 1 location

@@ 64-87 (lines=24) @@
61
     *
62
     * @return array
63
     */
64
    public static function getRequiredModules()
65
    {
66
        return array(
67
            'Zend\ServiceManager\Di',
68
            'Zend\Session',
69
            'Zend\Router',
70
            'Zend\Navigation',
71
            'Zend\I18n',
72
            'Zend\Filter',
73
            'Zend\InputFilter',
74
            'Zend\Form',
75
            'Zend\Validator',
76
            'Zend\Log',
77
            'Zend\Mvc\Plugin\Prg',
78
            'Zend\Mvc\Plugin\Identity',
79
            'Zend\Mvc\Plugin\FlashMessenger',
80
            'Zend\Mvc\I18n',
81
            'Zend\Mvc\Console',
82
            'Zend\Hydrator',
83
            'Zend\Serializer',
84
            'DoctrineModule',
85
            'DoctrineMongoODMModule',
86
        );
87
    }
88
89
    /**
90
     * Generate modules to be loaded for Yawik application