[
https://issues.apache.org/jira/browse/LOG4PHP-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399722#comment-13399722
]
Sven Rautenberg commented on LOG4PHP-121:
-----------------------------------------
I think this issue boils down to: Implement PSR-0.
Wanna read something? I found this:
http://phpmaster.com/autoloading-and-the-psr-0-standard/
And the standard:
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
I would really appreciate it, but this really is a huge restructuring of the
code.
> Log4PHP classes should have namespace/package prefix
> ----------------------------------------------------
>
> Key: LOG4PHP-121
> URL: https://issues.apache.org/jira/browse/LOG4PHP-121
> Project: Log4php
> Issue Type: Improvement
> Components: Code
> Environment: All
> Reporter: Sean W. Quinn
>
> Looking through the Log4PHP classes it is quickly apparent that there is no
> prefix to the class names. The Log4PHP library should make use of PEAR style
> namespacing prefix (e.g. Apache_Log4PHP_) or, less likely PHP's added support
> for native namespaces (e.g. Apache\Log4PHP). Obviously the PEAR style
> namespace prefixing is more desirable as it does not restrict usage of
> Log4PHP to systems running PHP 5.3+.
> This would be an immense improvement, allowing already established code bases
> to tie Log4PHP into their own auto-loading framework and avoid potential
> class name conflicts.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira