Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 953-955 (lines=3) @@
950
            if (file_exists($config_yml)) {
951
                $config = Yaml::parse(file_get_contents($config_yml));
952
                $config = empty($config) ? array() : $config;
953
                if (isset($this['output_config_php']) && $this['output_config_php']) {
954
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
955
                }
956
            }
957
        } else {
958
            $config = require $config_php;
@@ 973-975 (lines=3) @@
970
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
971
            if (file_exists($config_yml_dist)) {
972
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
973
                if (isset($this['output_config_php']) && $this['output_config_php']) {
974
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
975
                }
976
            }
977
        } else {
978
            $config_dist = require $config_php_dist;