mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
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…
x
Reference in New Issue
Block a user