|
@@ -21,7 +21,7 @@ class ConsoleOutputUtils
|
|
|
->only();
|
|
|
}
|
|
|
|
|
|
- public static function deprecated($feature, $should = null, $link = null)
|
|
|
+ public static function deprecated($feature, $inVersion, $should = null)
|
|
|
{
|
|
|
if (!self::$clara) {
|
|
|
self::bootstrapOutput(new ConsoleOutput);
|
|
@@ -31,9 +31,7 @@ class ConsoleOutputUtils
|
|
|
if ($should) {
|
|
|
$message .= "\nYou should $should instead.";
|
|
|
}
|
|
|
- $message .= $link
|
|
|
- ? " See $link for details"
|
|
|
- : (" See the changelog for details (v".Globals::SCRIBE_VERSION.").");
|
|
|
+ $message .= " See the changelog for details (v$inVersion).";
|
|
|
|
|
|
self::$clara->warn($message);
|
|
|
}
|