Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 1019-1021 (lines=3) @@
1016
            if (file_exists($config_yml)) {
1017
                $config = Yaml::parse(file_get_contents($config_yml));
1018
                $config = empty($config) ? array() : $config;
1019
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1020
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
1021
                }
1022
            }
1023
        } else {
1024
            $config = require $config_php;
@@ 1033-1035 (lines=3) @@
1030
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
1031
            if (file_exists($config_yml_dist)) {
1032
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
1033
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1034
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
1035
                }
1036
            }
1037
        } else {
1038
            $config_dist = require $config_php_dist;