Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7af94b1

Browse files
jrfnlgrogy
authored andcommitted
TextOutput: show application name + version
Fixes 95 Note: I'm explicitly marking this PR as for the 2.0 release as, per the discussion in 95, this change _could_ break scripts which parse the output.
1 parent 2c80058 commit 7af94b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/Outputs/TextOutput.php‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace PHP_Parallel_Lint\PhpParallelLint\Outputs;
44

5+
use PHP_Parallel_Lint\PhpParallelLint\Application;
56
use PHP_Parallel_Lint\PhpParallelLint\ErrorFormatter;
67
use PHP_Parallel_Lint\PhpParallelLint\Result;
78
use PHP_Parallel_Lint\PhpParallelLint\Writers\WriterInterface;
@@ -99,7 +100,7 @@ public function setTotalFileCount($count)
99100
*/
100101
public function writeHeader($phpVersion, $parallelJobs, $hhvmVersion = null)
101102
{
102-
$this->write("PHP {$this->phpVersionIdToString($phpVersion)} | ");
103+
$this->write('PHP-Parallel-Lint ' . Application::VERSION . " | PHP {$this->phpVersionIdToString($phpVersion)} | ");
103104

104105
if ($hhvmVersion) {
105106
$this->write("HHVM $hhvmVersion | ");

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /