1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/16688] Fix issues with custom repositories

Make any custom repo non-canonical to give repo.packagist.org (if enabled)
higher repository priority in case custom repo contains outdated/incorrect
packages/dependencies.

PHPBB3-16688
This commit is contained in:
rxu
2021-12-20 23:39:19 +07:00
parent 85f23474d7
commit afe97fb573
2 changed files with 2 additions and 0 deletions

View File

@@ -591,6 +591,7 @@ class installer
$repositories[] = [
'type' => 'composer',
'url' => $repository,
'canonical' => $this->packagist ? false : true,
];
}
}