Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef58b13

Browse files
committed
Minor tweaks
1 parent efa87da commit ef58b13

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/AssetsInstallCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
142142
}
143143

144144
if ($method === $expectedMethod) {
145-
$rows[] = array(sprintf('<fg=green;options=bold>%s</>', '\\' === DIRECTORY_SEPARATOR ? 'OK': "\xE2\x9C\x94" /* HEAVY CHECK MARK (U+2714) */ ), $message, $method);
145+
$rows[] = array(sprintf('<fg=green;options=bold>%s</>', '\\' === DIRECTORY_SEPARATOR ? 'OK' : "\xE2\x9C\x94" /* HEAVY CHECK MARK (U+2714) */), $message, $method);
146146
} else {
147-
$rows[] = array(sprintf('<fg=yellow;options=bold>%s</>', '\\' === DIRECTORY_SEPARATOR ? 'WARNING': '!'), $message, $method);
147+
$rows[] = array(sprintf('<fg=yellow;options=bold>%s</>', '\\' === DIRECTORY_SEPARATOR ? 'WARNING' : '!'), $message, $method);
148148
}
149149
} catch (Exception $e) {
150150
$exitCode = 1;
@@ -155,12 +155,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
155155
$io->table(array('', 'Bundle', 'Method / Error'), $rows);
156156

157157
if (0 !== $exitCode) {
158-
$io->error('Some errors occurred during install.');
158+
$io->error('Some errors occurred while installing assets.');
159159
} else {
160160
if ($copyUsed) {
161-
$io->caution('Some assets were installed via copy. If you make changes these assets you have to run this command again.');
161+
$io->note('Some assets were installed via copy. If you make changes to these assets you have to run this command again.');
162162
}
163-
$io->success('All assets installed successfully.');
163+
$io->success('All assets were successfully installed.');
164164
}
165165

166166
return $exitCode;

0 commit comments

Comments
 (0)