From a603459971761693f060ea4306be208f704f50f3 Mon Sep 17 00:00:00 2001 From: Vinai Kopp Date: Tue, 13 Jan 2015 12:09:25 +0100 Subject: [PATCH] Replace UTF8 'en dash' with minus in error msg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The character in the error message was the UTF8 character – U+2013 (&\#8211) also called "en dash", which is used e.g. to indicate a range of values. For command line options the character - U+002D (&\#45) is used to specify command options. This change should allow users who see the error message to copy the command out of the browser and paste it into the shell. --- .../Magento/Framework/Module/Plugin/DbStatusValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php b/lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php index d5b04050fd460..0031676d4650a 100644 --- a/lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php +++ b/lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php @@ -52,7 +52,7 @@ public function aroundDispatch( if ($errors) { $formattedErrors = $this->formatErrors($errors); throw new \Magento\Framework\Module\Exception( - 'Please update your database: Run "php –f index.php update" from the Magento root/setup directory.' + 'Please update your database: Run "php -f index.php update" from the Magento root/setup directory.' . PHP_EOL . 'The following modules are outdated:' . PHP_EOL . implode(PHP_EOL, $formattedErrors) ); } else {