Merge pull request #3989 from WyriHaximus/master
Replaced <error> with <warning> for abandoned package messagespull/3991/head
commit
6199488644
|
@ -302,7 +302,7 @@ EOT
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
$this->getIO()->writeError(
|
$this->getIO()->writeError(
|
||||||
sprintf('<error>Attention: This package is abandoned and no longer maintained.%s</error>', $replacement)
|
sprintf('<warning>Attention: This package is abandoned and no longer maintained.%s</warning>', $replacement)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -264,7 +264,7 @@ class Installer
|
||||||
|
|
||||||
$this->io->writeError(
|
$this->io->writeError(
|
||||||
sprintf(
|
sprintf(
|
||||||
"<error>Package %s is abandoned, you should avoid using it. %s.</error>",
|
"<warning>Package %s is abandoned, you should avoid using it. %s.</warning>",
|
||||||
$package->getPrettyName(),
|
$package->getPrettyName(),
|
||||||
$replacement
|
$replacement
|
||||||
)
|
)
|
||||||
|
|
|
@ -26,8 +26,8 @@ install
|
||||||
--EXPECT-OUTPUT--
|
--EXPECT-OUTPUT--
|
||||||
<info>Loading composer repositories with package information</info>
|
<info>Loading composer repositories with package information</info>
|
||||||
<info>Installing dependencies (including require-dev)</info>
|
<info>Installing dependencies (including require-dev)</info>
|
||||||
<error>Package a/a is abandoned, you should avoid using it. No replacement was suggested.</error>
|
<warning>Package a/a is abandoned, you should avoid using it. No replacement was suggested.</warning>
|
||||||
<error>Package c/c is abandoned, you should avoid using it. Use b/b instead.</error>
|
<warning>Package c/c is abandoned, you should avoid using it. Use b/b instead.</warning>
|
||||||
<info>Writing lock file</info>
|
<info>Writing lock file</info>
|
||||||
<info>Generating autoload files</info>
|
<info>Generating autoload files</info>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue