Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 1006-1008 (lines=3) @@
1003
            if (file_exists($config_yml)) {
1004
                $config = Yaml::parse(file_get_contents($config_yml));
1005
                $config = empty($config) ? array() : $config;
1006
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1007
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
1008
                }
1009
            }
1010
        } else {
1011
            $config = require $config_php;
@@ 1020-1022 (lines=3) @@
1017
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
1018
            if (file_exists($config_yml_dist)) {
1019
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
1020
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1021
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
1022
                }
1023
            }
1024
        } else {
1025
            $config_dist = require $config_php_dist;