Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

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