diff --git a/system/src/Grav/Common/Utils.php b/system/src/Grav/Common/Utils.php index 078a49a7e..0b6309c34 100644 --- a/system/src/Grav/Common/Utils.php +++ b/system/src/Grav/Common/Utils.php @@ -1145,9 +1145,9 @@ abstract class Utils $offset_prefix = $offset < 0 ? '-' : '+'; $offset_formatted = gmdate('H:i', abs($offset)); - $pretty_offset = "UTC${offset_prefix}${offset_formatted}"; + $pretty_offset = "UTC{$offset_prefix}{$offset_formatted}"; - $timezone_list[$timezone] = "(${pretty_offset}) " . str_replace('_', ' ', $timezone); + $timezone_list[$timezone] = "({$pretty_offset}) " . str_replace('_', ' ', $timezone); } return $timezone_list; diff --git a/system/src/Grav/Console/Cli/LogViewerCommand.php b/system/src/Grav/Console/Cli/LogViewerCommand.php index 8c26af24c..107ebf79b 100644 --- a/system/src/Grav/Console/Cli/LogViewerCommand.php +++ b/system/src/Grav/Console/Cli/LogViewerCommand.php @@ -82,7 +82,7 @@ class LogViewerCommand extends GravCommand if ($log['trace'] && $verbose) { $output .= " {$log['message']}\n"; foreach ((array) $log['trace'] as $index => $tracerow) { - $output .= "{$index}${tracerow}\n"; + $output .= "{$index}{$tracerow}\n"; } } else { $output .= " {$log['message']}"; diff --git a/system/src/Grav/Console/Gpm/InstallCommand.php b/system/src/Grav/Console/Gpm/InstallCommand.php index f16b5be5f..a45c2906b 100644 --- a/system/src/Grav/Console/Gpm/InstallCommand.php +++ b/system/src/Grav/Console/Gpm/InstallCommand.php @@ -317,7 +317,7 @@ class InstallCommand extends GpmCommand $questionNoun = 'packages'; } - $question = new ConfirmationQuestion("${questionAction} {$questionArticle} {$questionNoun}? [Y|n] ", true); + $question = new ConfirmationQuestion("{$questionAction} {$questionArticle} {$questionNoun}? [Y|n] ", true); $answer = $this->all_yes ? true : $io->askQuestion($question); if ($answer) {