mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11150] Always display an error message
PHPBB3-11150
This commit is contained in:
committed by
Tristan Darricau
parent
f6eb17048a
commit
fad379813f
@@ -121,9 +121,14 @@ trait translate_composer_trait
|
||||
|
||||
$message = trim($this->strip_format($lang_key), "\n\r");
|
||||
|
||||
if ($this->output->getVerbosity() === OutputInterface::VERBOSITY_DEBUG)
|
||||
if ($message === 'Your requirements could not be resolved to an installable set of packages.')
|
||||
{
|
||||
// Do nothing
|
||||
$this->composer_error[] = ['COMPOSER_ERROR_CONFLICT', []];
|
||||
|
||||
if ($this->output->getVerbosity() < OutputInterface::VERBOSITY_DEBUG)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else if (strpos($message, ' Problem ') === 0)
|
||||
{
|
||||
@@ -145,11 +150,6 @@ trait translate_composer_trait
|
||||
$lang_key = 'COMPOSER_LOADING_REPOSITORIES';
|
||||
$level = 1;
|
||||
}
|
||||
else if ($message === 'Your requirements could not be resolved to an installable set of packages.')
|
||||
{
|
||||
$this->composer_error[] = ['COMPOSER_ERROR_CONFLICT', []];
|
||||
continue;
|
||||
}
|
||||
else if (strpos($message, 'could not be fully loaded, package information was loaded from the local cache and may be out of date') !== false)
|
||||
{
|
||||
$end_repo = strpos($message, 'could not be fully loaded, package information was loaded from the local cache and may be out of date');
|
||||
|
Reference in New Issue
Block a user