Re: PEAR2 Standards Update
| From: | Greg Beaver | Date: | Tue, 22 Sep 2009 16:12:04 +0000 |
| Subject: | Re: PEAR2 Standards Update | ||
| References: | 1 | Groups: | php.pear.dev php.standards |
| Request: | Send a blank email to pear-dev+get-52884@lists.php.net to get a copy of this message | ||
Brett Bieber wrote:
> Greetings everyone -
>
> Just an update on PEAR's progress adopting the "PHP Standards and Best
> Practices for PHP 5.3+ Frameworks and Libraries." :-)
>
> At the last PEAR Group meeting the exception policy and the class
> naming policy were approved by the PEAR Group and are now incorporated
> into the PEAR2 standards.
>
> http://wiki.php.net/pear/rfc/pear2_standards
>
> We're still evaluating the namespace usage and I'll send an update
> once we've finalized that portion of the PEAR2 standards.
>
> My thanks to the standards group, and the PEAR Group for their work on
> establishing these standards and incorporating them into the project.
>
>
FYI, every current PEAR2 package that uses namespaces uses:
<?php
namespace pear2;
class ClassName {}
?>
Changing this requires changing Pyrus_Developer and the autoloader, as
well as a buttload of Pyrus tests, but can be done if someone has 5-6
hours free (which I will probably not ever have again, I get about 30
minutes to 1 hour per week max).
Greg