diff --git a/src/TaskRunner/Commands/ToolCommands.php b/src/TaskRunner/Commands/ToolCommands.php index 0afdf3fcb..aab8a338e 100644 --- a/src/TaskRunner/Commands/ToolCommands.php +++ b/src/TaskRunner/Commands/ToolCommands.php @@ -565,6 +565,9 @@ protected function componentOutdated() foreach ($outdatedPackages['installed'] as $outdatedPackage) { if (!array_key_exists('latest', $outdatedPackage)) { echo "Package " . $outdatedPackage['name'] . " does not provide information about last version." . PHP_EOL; + } elseif (array_key_exists('warning', $outdatedPackage)) { + echo $outdatedPackage['warning'] . PHP_EOL; + $this->componentCheckOutdatedFailed = true; } else { echo "Package " . $outdatedPackage['name'] . " with version installed " . $outdatedPackage["version"] . " is outdated, please update to last version - " . $outdatedPackage["latest"] . PHP_EOL; $this->componentCheckOutdatedFailed = true;