Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix phpcs in runner implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Oct 31, 2013
1 parent f4c706b commit 33b27b0
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions src/HumusPHPUnitModule/Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,18 @@ protected function getTitle()
{
$console = $this->console;

$title = sprintf("%s\n%s\n%s\n",
str_repeat('-', $console->getWidth()),
$title = sprintf(
"%s\n%s\n%s\n",
str_repeat(
'-',
$console->getWidth()
),
"Humus PHPUnit Module for Zend Framework 2\n"
. "Author: Sascha-Oliver Prolic",
str_repeat('-', $console->getWidth())
str_repeat(
'-',
$console->getWidth()
)
);

return $console->colorize($title, ColorInterface::RED);
Expand All @@ -234,10 +241,17 @@ protected function getModuleOutput($module)
{
$console = $this->console;

$head = sprintf("%s\n%s\n%s\n",
str_repeat('-', $console->getWidth()),
$head = sprintf(
"%s\n%s\n%s\n",
str_repeat(
'-',
$console->getWidth()
),
'Testing Module: ' . $module,
str_repeat('-', $console->getWidth())
str_repeat(
'-',
$console->getWidth()
)
);

return $console->colorize($head, ColorInterface::BLUE);
Expand Down

0 comments on commit 33b27b0

Please sign in to comment.