Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit 49c486e

Browse files
author
guillermo.fisher
committed
Added the box and some color config.
1 parent 76216dc commit 49c486e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
21
.idea
32
*.iml
4-
5-
6-
7-
3+
hrphp.phar

src/library/Command/PingCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ protected function configure()
4545

4646
protected function execute(InputInterface $input, OutputInterface $output)
4747
{
48+
$output->writeln(sprintf('<info>%s command</info>', $this->getName()));
4849
$response = $this->getClient()->get(HRPHP_URL);
4950
/*
5051
if ($output->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) {

tests/library/Command/PingCommandTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function testPing()
3030
{
3131
$commandTester = $this->getCommandTester('ping');
3232
$output = $commandTester->getDisplay();
33+
self::assertContains(sprintf('command', HRPHP_URL), $output);
3334
self::assertContains(sprintf('%s is up!', HRPHP_URL), $output);
3435
}
3536

0 commit comments

Comments
 (0)