Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

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