diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-07-30 08:31:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-30 08:31:04 +0200 |
commit | 882da5c5eb283cbc7a869182b26a69b8fbebda2b (patch) | |
tree | aae7d4b497a77a1b2eeb5b82c1a0f2d56865e64b /src/Wallabag/CoreBundle/Command/ShowUserCommand.php | |
parent | 4fc7eba34904a062cddf1e61956c48f27cb2e06c (diff) | |
parent | e1b33efb3dd7c9ebb4dcfb23a2ca5efbda0a05f6 (diff) | |
download | wallabag-882da5c5eb283cbc7a869182b26a69b8fbebda2b.tar.gz wallabag-882da5c5eb283cbc7a869182b26a69b8fbebda2b.tar.zst wallabag-882da5c5eb283cbc7a869182b26a69b8fbebda2b.zip |
Merge pull request #3297 from nclsHart/commands-better-rendering
Better rendering for all core commands
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/ShowUserCommand.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/ShowUserCommand.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php index 090309d9..2dca32c4 100644 --- a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php +++ b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php | |||
@@ -52,11 +52,11 @@ class ShowUserCommand extends ContainerAwareCommand | |||
52 | private function showUser(User $user) | 52 | private function showUser(User $user) |
53 | { | 53 | { |
54 | $this->io->listing([ | 54 | $this->io->listing([ |
55 | sprintf('Username : %s', $user->getUsername()), | 55 | sprintf('Username: %s', $user->getUsername()), |
56 | sprintf('Email : %s', $user->getEmail()), | 56 | sprintf('Email: %s', $user->getEmail()), |
57 | sprintf('Display name : %s', $user->getName()), | 57 | sprintf('Display name: %s', $user->getName()), |
58 | sprintf('Creation date : %s', $user->getCreatedAt()->format('Y-m-d H:i:s')), | 58 | sprintf('Creation date: %s', $user->getCreatedAt()->format('Y-m-d H:i:s')), |
59 | sprintf('Last login : %s', $user->getLastLogin() !== null ? $user->getLastLogin()->format('Y-m-d H:i:s') : 'never'), | 59 | sprintf('Last login: %s', $user->getLastLogin() !== null ? $user->getLastLogin()->format('Y-m-d H:i:s') : 'never'), |
60 | sprintf('2FA activated: %s', $user->isTwoFactorAuthentication() ? 'yes' : 'no'), | 60 | sprintf('2FA activated: %s', $user->isTwoFactorAuthentication() ? 'yes' : 'no'), |
61 | ]); | 61 | ]); |
62 | } | 62 | } |