diff --git a/src/Psysh/DrushHelpCommand.php b/src/Psysh/DrushHelpCommand.php index 8510daff02..2dc93af1ee 100644 --- a/src/Psysh/DrushHelpCommand.php +++ b/src/Psysh/DrushHelpCommand.php @@ -108,7 +108,7 @@ protected function execute(InputInterface $input, OutputInterface $output): void $namespaces[$namespace] = []; } - $namespaces[$namespace][] = sprintf(" %-${width}s %s%s", $name, $command->getDescription(), $aliases); + $namespaces[$namespace][] = sprintf(" %-{$width}s %s%s", $name, $command->getDescription(), $aliases); } $messages = [];