Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 997-999 (lines=3) @@
994
            if (file_exists($config_yml)) {
995
                $config = Yaml::parse(file_get_contents($config_yml));
996
                $config = empty($config) ? array() : $config;
997
                if (isset($this['output_config_php']) && $this['output_config_php']) {
998
                    file_put_contents($config_php, sprintf('<?php return %s', var_export($config, true)).';');
999
                }
1000
            }
1001
        } else {
1002
            $config = require $config_php;
@@ 1011-1013 (lines=3) @@
1008
            $config_yml_dist = $distPath.'/'.$config_name.'.yml.dist';
1009
            if (file_exists($config_yml_dist)) {
1010
                $config_dist = Yaml::parse(file_get_contents($config_yml_dist));
1011
                if (isset($this['output_config_php']) && $this['output_config_php']) {
1012
                    file_put_contents($config_php_dist, sprintf('<?php return %s', var_export($config_dist, true)).';');
1013
                }
1014
            }
1015
        } else {
1016
            $config_dist = require $config_php_dist;