From cc02dbb17aca096bca47518034d41f82a9820aae Mon Sep 17 00:00:00 2001 From: Charles Tanton Date: Wed, 20 Feb 2019 15:46:10 +0200 Subject: [PATCH] Change createRequiredFiles messages to reflect what occured The messages displayed in the terminal after composer creates the settings.php file, and the files directory were ambiguous because they may lead users to think that they need to create the file and the directory themselves. Changing 'Create' to 'Created' better reflects the fact that they have already been created. --- scripts/composer/ScriptHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/composer/ScriptHandler.php b/scripts/composer/ScriptHandler.php index a75e4d34ee..e7c84f412c 100644 --- a/scripts/composer/ScriptHandler.php +++ b/scripts/composer/ScriptHandler.php @@ -48,7 +48,7 @@ public static function createRequiredFiles(Event $event) { ]; drupal_rewrite_settings($settings, $drupalRoot . '/sites/default/settings.php'); $fs->chmod($drupalRoot . '/sites/default/settings.php', 0666); - $event->getIO()->write("Create a sites/default/settings.php file with chmod 0666"); + $event->getIO()->write("Created a sites/default/settings.php file with chmod 0666"); } // Create the files directory with chmod 0777 @@ -56,7 +56,7 @@ public static function createRequiredFiles(Event $event) { $oldmask = umask(0); $fs->mkdir($drupalRoot . '/sites/default/files', 0777); umask($oldmask); - $event->getIO()->write("Create a sites/default/files directory with chmod 0777"); + $event->getIO()->write("Created a sites/default/files directory with chmod 0777"); } }