Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 972-974 (lines=3) @@
969
            if (file_exists($config_yml)) {
970
                $config = Yaml::parse(file_get_contents($config_yml));
971
                $config = empty($config) ? array() : $config;
972
                if (isset($this['output_config_php']) && $this['output_config_php']) {
973
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
974
                }
975
            }
976
        } else {
977
            $config = require $config_php;
@@ 986-988 (lines=3) @@
983
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
984
            if (file_exists($config_yml_dist)) {
985
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
986
                if (isset($this['output_config_php']) && $this['output_config_php']) {
987
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
988
                }
989
            }
990
        } else {
991
            $config_dist = require $config_php_dist;