Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

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