Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

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