Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 1039-1041 (lines=3) @@
1036
            if (file_exists($config_yml)) {
1037
                $config = Yaml::parse(file_get_contents($config_yml));
1038
                $config = empty($config) ? array() : $config;
1039
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1040
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
1041
                }
1042
            }
1043
        } else {
1044
            $config = require $config_php;
@@ 1053-1055 (lines=3) @@
1050
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
1051
            if (file_exists($config_yml_dist)) {
1052
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
1053
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1054
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
1055
                }
1056
            }
1057
        } else {
1058
            $config_dist = require $config_php_dist;