Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

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