Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

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