Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

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