diff --git a/src/VersionsCheck.php b/src/VersionsCheck.php
index b41e539..c5f1c38 100644
--- a/src/VersionsCheck.php
+++ b/src/VersionsCheck.php
@@ -123,24 +123,26 @@ private function createNotUpToDateOutput(array &$output, $showLinks = true)
$output[] = '';
foreach ($this->outdatedPackages as $outdatedPackage) {
- $output[] = sprintf(
- ' - %s (%s) latest is %s',
- $outdatedPackage->getActual()->getPrettyName(),
- $outdatedPackage->getActual()->getPrettyVersion(),
- $outdatedPackage->getLast()->getPrettyVersion()
- );
-
- if (true === $showLinks) {
- foreach ($outdatedPackage->getLinks() as $depend) {
- $output[] = sprintf(
- ' Required by %s (%s)',
- $depend->getSource(),
- $depend->getPrettyConstraint()
- );
+ if ($outdatedPackage->getLast()->getPrettyVersion() !== 'dev-master') {
+ $output[] = sprintf(
+ ' - %s (%s) latest is %s',
+ $outdatedPackage->getActual()->getPrettyName(),
+ $outdatedPackage->getActual()->getPrettyVersion(),
+ $outdatedPackage->getLast()->getPrettyVersion()
+ );
+
+ if (true === $showLinks) {
+ foreach ($outdatedPackage->getLinks() as $depend) {
+ $output[] = sprintf(
+ ' Required by %s (%s)',
+ $depend->getSource(),
+ $depend->getPrettyConstraint()
+ );
+ }
}
- }
- $output[] = '';
+ $output[] = '';
+ }
}
}
}