Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 962-964 (lines=3) @@
959
            if (file_exists($config_yml)) {
960
                $config = Yaml::parse(file_get_contents($config_yml));
961
                $config = empty($config) ? array() : $config;
962
                if (isset($this['output_config_php']) && $this['output_config_php']) {
963
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
964
                }
965
            }
966
        } else {
967
            $config = require $config_php;
@@ 982-984 (lines=3) @@
979
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
980
            if (file_exists($config_yml_dist)) {
981
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
982
                if (isset($this['output_config_php']) && $this['output_config_php']) {
983
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
984
                }
985
            }
986
        } else {
987
            $config_dist = require $config_php_dist;