Skip to content

Commit a603459

Browse files
committed
Replace UTF8 'en dash' with minus in error msg
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.
1 parent f07c64a commit a603459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function aroundDispatch(
5252
if ($errors) {
5353
$formattedErrors = $this->formatErrors($errors);
5454
throw new \Magento\Framework\Module\Exception(
55-
'Please update your database: Run "php f index.php update" from the Magento root/setup directory.'
55+
'Please update your database: Run "php -f index.php update" from the Magento root/setup directory.'
5656
. PHP_EOL . 'The following modules are outdated:' . PHP_EOL . implode(PHP_EOL, $formattedErrors)
5757
);
5858
} else {

0 commit comments

Comments
 (0)