`VersionCommand`: Avoid using deprecated `${}` string interpolation
This commit is contained in:
parent
fd984c5798
commit
6353f79528
|
@ -47,9 +47,9 @@ class VersionCommand extends Command
|
|||
}
|
||||
}
|
||||
|
||||
printf("%-${maxLength}s %-9s \n", 'MODULE', 'VERSION');
|
||||
printf("%-{$maxLength}s %-9s \n", 'MODULE', 'VERSION');
|
||||
foreach ($modules as $module) {
|
||||
printf("%-${maxLength}s %-9s \n", $module->getName(), $module->getVersion());
|
||||
printf("%-{$maxLength}s %-9s \n", $module->getName(), $module->getVersion());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue