Re: Invalid class constructors
| From: | Klaus Guenther | Date: | Mon, 16 Feb 2004 23:46:14 +0000 |
| Subject: | Re: Invalid class constructors | ||
| References: | 1 2 3 4 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-567@lists.php.net to get a copy of this message | ||
Jon Parise <jon@php.net> wrote:
> On Mon, Feb 16, 2004 at 03:09:54PM +0100, Lukas Smith wrote:
>
> > while we are at it I saw that about 30% of the files I was looking at
> > today in pear cvs have tabs in them .. maybe we need to come up with a
> > script that files bug reports.
>
> I like the idea of an automated "PEAR LINT" tool that searches the
> repository for a fixed set of coding problems and files bugs
> accordingly.
Wanna bet how long it will take before people move their code elsewhere? ;-)
Actually, it's a cool idea -- but it should only file one bug report per
package, even if multiple files are affected. That way, a maintainer doesn't
wake up one morning to see that "oh boy, my package has 50 bugs!" There also
would have to be a new category "CS bugs" that would not be counted as bugs
(just like feature reports shouldn't be) so that users who want to see how
many bugs a package has won't get scared off by the extraordinarily high
number of bugs.
On the other hand, it might gently encourage developers not to make mistakes
in the first place. ;-)
Klaus