Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 1008-1010 (lines=3) @@
1005
            if (file_exists($config_yml)) {
1006
                $config = Yaml::parse(file_get_contents($config_yml));
1007
                $config = empty($config) ? array() : $config;
1008
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1009
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
1010
                }
1011
            }
1012
        } else {
1013
            $config = require $config_php;
@@ 1022-1024 (lines=3) @@
1019
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
1020
            if (file_exists($config_yml_dist)) {
1021
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
1022
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1023
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
1024
                }
1025
            }
1026
        } else {
1027
            $config_dist = require $config_php_dist;