-
-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Description
Hi @gordalina
Sometimes it results in an error if the apcu key contains "%": https://github.com/gordalina/cachetool/blob/main/src/Command/ApcuKeyFetchCommand.php#L45
For example:
vendor/bin/cachetool apcu:key:fetch "2m9Y57pSrU:[C]Bundle%5CNamespace%5CClassName"
Warning: sprintf(): Too few arguments in vendor/gordalina/cachetool/src/Command/ApcuKeyFetchCommand.php on line 45What about rewrite the php code at line 45 in the command ApcuKeyFetchCommand?
$output->writeln(sprintf("<comment>APCu key=<info>%1\$s</info> has value=<info>%2\$s</info></comment>", $key, var_export($value, true)));Metadata
Metadata
Assignees
Labels
No labels