mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11150] Add comments + ignore invaid repositories URLs
PHPBB3-11150
This commit is contained in:
@@ -291,6 +291,18 @@ class manager implements manager_interface
|
||||
return $this->installer->check_requirements();
|
||||
}
|
||||
|
||||
/**
|
||||
* Normalize a packages/version array. Every entry can have 3 different forms:
|
||||
* - $package => $version
|
||||
* - $indice => $package:$version
|
||||
* - $indice => $package
|
||||
* They are converted to he form:
|
||||
* - $package => $version ($version is set to '*' for the third form)
|
||||
*
|
||||
* @param array $packages
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function normalize_version(array $packages)
|
||||
{
|
||||
$normalized_packages = [];
|
||||
|
Reference in New Issue
Block a user