Code Duplication    Length = 24-24 lines in 2 locations

module/Core/src/Application.php 1 location

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

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