Merge branch '2.5'
commit
1a3f98601f
|
@ -413,7 +413,7 @@ EOT
|
|||
],
|
||||
'bin-compat' => [
|
||||
static function ($val): bool {
|
||||
return in_array($val, ['auto', 'full', 'symlink']);
|
||||
return in_array($val, ['auto', 'full', 'proxy', 'symlink']);
|
||||
},
|
||||
static function ($val) {
|
||||
return $val;
|
||||
|
|
|
@ -115,6 +115,7 @@ class Problem
|
|||
foreach ($rules as $rule) {
|
||||
$message = $rule->getPrettyString($repositorySet, $request, $pool, $isVerbose, $installedMap, $learnedPool);
|
||||
if (in_array($rule->getReason(), $deduplicatableRuleTypes, true) && Preg::isMatchStrictGroups('{^(?P<package>\S+) (?P<version>\S+) (?P<type>requires|conflicts)}', $message, $m)) {
|
||||
$message = str_replace('%', '%%', $message);
|
||||
$template = Preg::replace('{^\S+ \S+ }', '%s%s ', $message);
|
||||
$messages[] = $template;
|
||||
$templates[$template][$m[1]][$parser->normalize($m[2])] = $m[2];
|
||||
|
|
Loading…
Reference in New Issue