diff --git a/migrations/container/20181121091115_service-command_add_new_ee_conf_for_db.php b/migrations/container/20181121091115_service-command_add_new_ee_conf_for_db.php index edd21dc..0d6c337 100644 --- a/migrations/container/20181121091115_service-command_add_new_ee_conf_for_db.php +++ b/migrations/container/20181121091115_service-command_add_new_ee_conf_for_db.php @@ -7,6 +7,7 @@ use EE\Migration\SiteContainers; use EE\RevertableStepProcessor; use EE\Model\Site; +use EE\Utils as EE_Utils; class AddNewEeConfForDb extends Base { @@ -57,7 +58,7 @@ public function up() { 'timeout' => 600, // 10 minutes ought to be enough for everybody. 'filename' => $backup_ee_conf, ]; - \EE\Utils\http_request( 'GET', $download_url, null, $headers, $options ); + EE_Utils\http_request( 'GET', $download_url, null, $headers, $options ); self::$rsp->add_step( 'add-new-ee-conf-to-global-db', diff --git a/src/Service_Command.php b/src/Service_Command.php index aa13380..bb38dd4 100644 --- a/src/Service_Command.php +++ b/src/Service_Command.php @@ -1,6 +1,7 @@ stdout ); } - $password = empty( $password ) ? \EE\Utils\random_password() : $password; + $password = empty( $password ) ? EE_Utils\random_password() : $password; $volumes_nginx_proxy = [ [ @@ -295,7 +296,7 @@ function generate_global_docker_compose_yml( Filesystem $fs ) { ], ]; - $contents = EE\Utils\mustache_render( SERVICE_TEMPLATE_ROOT . '/global_docker_compose.yml.mustache', $data ); + $contents = EE_Utils\mustache_render( SERVICE_TEMPLATE_ROOT . '/global_docker_compose.yml.mustache', $data ); $fs->dumpFile( EE_SERVICE_DIR . '/docker-compose.yml', $contents ); }