Re: Drop PHP4 compatibility
| From: | Daniel O'Connor | Date: | Wed, 30 Nov 2011 08:48:50 +0000 |
| Subject: | Re: Drop PHP4 compatibility | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54594@lists.php.net to get a copy of this message | ||
Unfortunately, I'd say you'd want to in this case.
I'm been refactoring the heck out of the Math_* packages to pick up PHP5 -
but only because they are still < 1.0.0 / stable.
We haven't knowingly broken BC in a long time.
I know there's other packages out there - PHPUnit for instance - which are
happy to break BC between releases, and the world has moved on without much
arm waving.
If you want, I'll happily contribute to a Mail_Mime2 on github.
The standard refactorings I do almost automatically:
- Kill PEAR for Exceptions
- PHP5 syntax
- Prefer dependency injection / avoid work in the constructor
- Ensure test suite is current
... or other old PHP4 packages that depend on it.
On Tue, Nov 29, 2011 at 11:40 PM, A.L.E.C <alec@alec.pl> wrote:
> I want to drop PHP4 compatibility in Mail_mime package. Do I really need
> to "fork" it to Mail_Mime2? I saw that's not true for some packages.
>
> --
> Aleksander 'A.L.E.C' Machniak
> LAN Management System Developer [http://lms.org.pl]
> Roundcube Webmail Developer [http://roundcube.net]
> ---------------------------------------------------
> PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>