Skip to content

Commit 716f8bf

Browse files
committed
CodeSniffer: typos
1 parent 4420b14 commit 716f8bf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Environment.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public static function setupTimezone($timezone = 'Europe/Prague')
6262
/**
6363
* Configure variables
6464
*
65+
* @param string $dir
6566
* @return void
6667
*/
6768
public static function setupVariables($dir)

src/OutputHandler/BetterConsolePrinter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class BetterConsolePrinter extends ConsolePrinter
1313
{
1414

1515
/**
16-
* Display end of single test
16+
* Display headline of testing
1717
*
1818
* @return void
1919
*/
@@ -36,14 +36,14 @@ public function result($testName, $result, $message)
3636
{
3737
$outputs = [
3838
Runner::PASSED => Dumper::color('green', '' . $testName),
39-
Runner::SKIPPED => Dumper::color('olive', 's ' . $testName) . "($message)",
39+
Runner::SKIPPED => Dumper::color('olive', 's ' . $testName) . '(' . $message . ')',
4040
Runner::FAILED => Dumper::color('red', '' . $testName) . "\n" . $this->indent($message, 3) . "\n",
4141
];
4242
echo $this->indent($outputs[$result], 2) . PHP_EOL;
4343
}
4444

4545
/**
46-
* Display end of single test
46+
* Display result of testing
4747
*
4848
* @return void
4949
*/

0 commit comments

Comments
 (0)