This patch refactors the package class from the pear-database.php file to start modernizing it and make it more manageable.
Several methods were removed since they are not used in current code:
Package::getDownloadURL()
Package::getPackageFile()
Package::getDepDownloadURL()
Package::search()
Other methods got method visibility and static keywords added since current code still uses static calls on many places and to split refactoring in multiple phases.
This patch refactors the package class from the pear-database.php file to start modernizing it and make it more manageable.
Several methods were removed since they are not used in current code:
Other methods got method visibility and static keywords added since current code still uses static calls on many places and to split refactoring in multiple phases.