Re: Spelling of name for Mail/mime.php?

From: Date: Sun, 18 Jan 2004 16:25:46 +0000
Subject: Re: Spelling of name for Mail/mime.php?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25130@lists.php.net to get a copy of this message
On 18 Jan 2004 at 17:18, Pierre-Alain Joye wrote: > On Sun, 18 Jan 2004 17:14:37 +0100 > Tobias Schlitt <tobias@schlitt.info> wrote: > > > On Sun, 2004-01-18 at 17:09, Richard Heyes wrote: > > > > I just used Mail/mime.php for the first time :-) Hey, a great > > > > class. But I wondered why the name mime.php is in lower case > > > > instead of Mime.php. Are there plans to correct this, maybe in a > > > > following release? > > > > > Nope. > > > > Maybe it's a good idea to provide a file like this in the next > > release to fulfill PEAR naming conventions: > > Well, if a change will occur (which it seems not) it should be > Mail_MIME. I never see anything else than 'mime' or 'MIME' in any > other mime libraries. Well, you gotta change the class-name from Mail_Mime to Mail_MIME also, then (with regards to PHP5-naming-conventions). Currently the class is Mail_Mime - so CS says it should be Mail/Mime.php. Maybe we could rename mime.php to Mime.php and include a dummy mime.php which just includes Mime.php to still maintain BC (as Toby suggested in his email). Sorry folks, after writing I found there is already a bug about this topic: http://pear.php.net/bugs/bug.php?id=24&edit=1 If anybody has the time to maybe squash some bugs currently assigned to the Mail_Mime-package, it would be nice if he could fix the CS right-away also. Regards, Stefan

« previous php.pear.dev (#25130) next »