Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 900-902 (lines=3) @@
897
            if (file_exists($config_yml)) {
898
                $config = Yaml::parse(file_get_contents($config_yml));
899
                $config = empty($config) ? array() : $config;
900
                if (isset($this['output_config_php']) && $this['output_config_php']) {
901
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
902
                }
903
            }
904
        } else {
905
            $config = require $config_php;
@@ 920-922 (lines=3) @@
917
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
918
            if (file_exists($config_yml_dist)) {
919
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
920
                if (isset($this['output_config_php']) && $this['output_config_php']) {
921
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
922
                }
923
            }
924
        } else {
925
            $config_dist = require $config_php_dist;