Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 932-934 (lines=3) @@
929
            if (file_exists($config_yml)) {
930
                $config = Yaml::parse(file_get_contents($config_yml));
931
                $config = empty($config) ? array() : $config;
932
                if (isset($this['output_config_php']) && $this['output_config_php']) {
933
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
934
                }
935
            }
936
        } else {
937
            $config = require $config_php;
@@ 952-954 (lines=3) @@
949
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
950
            if (file_exists($config_yml_dist)) {
951
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
952
                if (isset($this['output_config_php']) && $this['output_config_php']) {
953
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
954
                }
955
            }
956
        } else {
957
            $config_dist = require $config_php_dist;