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

From: Date: Sun, 18 Jan 2004 16:40:59 +0000
Subject: Re: Spelling of name for Mail/mime.php?
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25132@lists.php.net to get a copy of this message
Stefan Neufeind wrote:
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).
while so far there was only little value beyond generally being clean in making sure all the names had the right case and the files where in the right location this is changing with php5 and stuff like autoload, reflection etc. Especially if you plan to use a case sensitive OS all of these things start to matter quite a lot. regards, Lukas

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