Re: Invalid class constructors
| From: | Lukas Smith | Date: | Mon, 16 Feb 2004 13:48:22 +0000 |
| Subject: | Re: Invalid class constructors | ||
| References: | 1 2 3 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-547@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
Stefan Neufeind wrote:dunno if this is elegant but this is what I came up with: replace: get_class\(([^)]+)\)([^)]) with: strtolower(get_class(\1))\2 I would manually ok every replacement and I would not replace those instances where the output is directly used in an user error message. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07On 16 Feb 2004 at 13:49, Stefan Walk wrote:Actually I was pondering running a little regexp across the entire CVS and then doing a little QA commit action ...On Mon, Feb 16, 2004 at 10:23:48AM +0100, Lukas Smith wrote:If you all agree, I volunteer to file bugs for every of these affected packages. This should make a direct contact to the author easier and help track necessary changes.could you do similar magic in regards to get_class without strtolower calls?$ grep -nri get_class * | grep -vi strtolower |grep !=\\\|== |wc -l 114