Skip to content

Commit

Permalink
Default to 79 dashes in a bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 11, 2014
1 parent 2002dae commit a883e0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Console/ConsoleIo.php
Expand Up @@ -213,10 +213,10 @@ public function nl($multiplier = 1) {
* Outputs a series of minus characters to the standard output, acts as a visual separator.
*
* @param integer $newlines Number of newlines to pre- and append
* @param integer $width Width of the line, defaults to 63
* @param integer $width Width of the line, defaults to 79
* @return void
*/
public function hr($newlines = 0, $width = 63) {
public function hr($newlines = 0, $width = 79) {
$this->out(null, $newlines);
$this->out(str_repeat('-', $width));
$this->out(null, $newlines);
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Console/ConsoleIoTest.php
Expand Up @@ -260,7 +260,7 @@ public function testNl() {
* @return void
*/
public function testHr() {
$bar = '---------------------------------------------------------------';
$bar = str_repeat('-', 79);

$this->out->expects($this->at(0))->method('write')->with('', 0);
$this->out->expects($this->at(1))->method('write')->with($bar, 1);
Expand Down

0 comments on commit a883e0d

Please sign in to comment.