Skip to content

Commit

Permalink
Merge pull request #4 from keljtanoski/kostadin.keljtanoski/212-phpun…
Browse files Browse the repository at this point in the history
…it-version-info

facile-it#212 PHPUnit version info and updating .gitignore
  • Loading branch information
keljtanoski authored Jul 17, 2023
2 parents 31739b6 + e80c6e9 commit bb86c71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ build/
swiftmailer/
docker-compose.override.yml
.vscode/
.idea/
5 changes: 5 additions & 0 deletions src/Bin/Paraunit.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ public static function getVersion(): string
{
return PrettyVersions::getVersion('facile-it/paraunit')->getPrettyVersion();
}

public static function getPHPUnitVersion(): string
{
return PrettyVersions::getVersion('phpunit/phpunit')->getPrettyVersion();
}
}
2 changes: 1 addition & 1 deletion src/Printer/SharkPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function onEngineBeforeStart(): void
}

$output->writeln('');
$output->writeln('PARAUNIT v.' . Paraunit::getVersion());
$output->writeln('PARAUNIT v.' . Paraunit::getVersion() . ' (PHPUnit v.' . Paraunit::getPHPUnitVersion() . ')');
$output->writeln('by Francesco Panina, Alessandro Lai & Shark Dev Team @ Facile.it');
}
}

0 comments on commit bb86c71

Please sign in to comment.