Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 1063-1065 (lines=3) @@
1060
            if (file_exists($config_yml)) {
1061
                $config = Yaml::parse(file_get_contents($config_yml));
1062
                $config = empty($config) ? array() : $config;
1063
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1064
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
1065
                }
1066
            }
1067
        } else {
1068
            $config = require $config_php;
@@ 1077-1079 (lines=3) @@
1074
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
1075
            if (file_exists($config_yml_dist)) {
1076
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
1077
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1078
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
1079
                }
1080
            }
1081
        } else {
1082
            $config_dist = require $config_php_dist;