15 Commits

Author SHA1 Message Date
Peter Kokot
5ed911a14f Bump copyrights and license year range to 2019 2019-01-25 00:22:14 +01:00
Peter Kokot
31632f2b82 Migrate package to PDO 2018-11-19 22:11:38 +01:00
Peter Kokot
2810c64eb2 Migrate json.php to PDO 2018-11-17 00:26:48 +01:00
Peter Kokot
26f22e60b1 Add use statements and namespaces 2018-11-15 04:25:08 +01:00
Peter Kokot
45b31bc936 Revert "Add dual autoloading mechanism"
This reverts commit e3c64d8aba.
2018-11-13 00:20:59 +01:00
Peter Kokot
e3c64d8aba Add dual autoloading mechanism
This patch adds a dual autoloading mechanism for classes until further
refactorings will be possible using Composer's autoloader and full
PSR-4 support.
2018-11-12 22:55:55 +01:00
Peter Kokot
011a93cea6 Sync code comments coding style 2018-11-04 22:31:28 +01:00
Peter Kokot
21e1b29108 Sync tabs and spaces
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.
2018-10-30 02:30:07 +01:00
Peter Kokot
7b5613e293 Refactor package class
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.
2018-10-29 22:50:50 +01:00
Peter Kokot
e1e774f605 Update headers
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
2018-10-28 17:33:45 +01:00
Peter Kokot
d2c355e514 Update http to https 2018-10-27 23:11:56 +02:00
Peter Kokot
4345e037d2 Refactor long array() syntax to short [] 2018-10-26 17:06:00 +02:00
Peter Kokot
da4fe2abd1 Remove unused Git attributes ident
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.
2018-08-08 16:40:36 +02:00
Pierre Joye
f77306ab40 - do not need that file, auto included in old_auth 2012-03-06 08:08:50 +01:00
Pierre Joye
7ff13ae8f6 - add json service to provide meta info, for now only maintainers of a given package 2012-03-05 22:15:41 +01:00