This patch adds a dual autoloading mechanism for classes until further
refactorings will be possible using Composer's autoloader and full
PSR-4 support.
This patch syncs and converts all files to include spaces for indentation
except for Makefile. Prior to this patch there were mixed tabs and
spaces in most files.
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 syncs and updates all headers in source code files across the
PECL website code base.
- Authors preserved
- The PECL website titles used and synced as is the current project name
- PHP License version updated to the latest
- Year ranges synced
- Comment block synced as is used in php-src files - simplified
multiline comment block.
- PHP Doc block tags @author removed in favor of the main file headers
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.