Re: [PATCH] Error message cleanup
| From: | Matt W | Date: | Thu, 05 Oct 2006 08:32:29 +0000 |
| Subject: | Re: [PATCH] Error message cleanup | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25944@lists.php.net to get a copy of this message | ||
Hi all,
So is there any interest in applying this "tidying up?" Before 5.2's
official release? Just to have all the error messages (that I found) more
consistent. ;-)
Thanks,
Matt
P.S. Is this something that would be sent to the QA list...? (For future
reference.)
----- Original Message -----
From: "Matt W"
Sent: Monday, September 25, 2006
> Hi,
>
> Don't know if someone wants to check this out and apply it before 5.2's
> release, or whether you want it at all. ;-) I just noticed how many of
the
> php_error_docref()'s still have a period (".") at the end of the text,
> resulting in "... error message. in <file> on line <line>" Looks
> better/consistent without a period, and I think that's how you want it
now,
> isn't it?
>
> I don't know if my regex search found all occurrences, but I fixed up the
> files I found. The only changes were removing a trailing period (or a
space
> in a few places), and a couple typos I noticed in the ones I changed --
> "interger", "can not" -> "cannot", I think that's about
> all. Also updated
> the necessary test files I found, to reflect the changes. I think (hope)
> everything's OK, but haven't tested it!
>
> There looks to be 209/188 changes in 5.2/6, respectively. BTW, 5.2's
> ext/soap/tests/bugs/bug31755.phpt must be screwed up (new lines) since the
> diff is deleting every line first...
>
> http://realplain.com/php/error_messages.diff
> http://realplain.com/php/error_messages_5_2.diff
>
>
> Thanks,
> Matt