Re: Coding Standards and whitespace fixes
| From: | Stefan Neufeind | Date: | Sun, 14 Mar 2004 22:47:43 +0000 |
| Subject: | Re: Coding Standards and whitespace fixes | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-933@lists.php.net to get a copy of this message | ||
On 14 Mar 2004 at 22:45, Matthias Nothhaft wrote:
> Hi Lukas Smith, you wrote:
>
> > Matthias Nothhaft wrote:
> >
> >> did anyone thought about a 'PHP_Beautifier' for
> >> automagically PEAR CS compliant code cleanup?
> >
> >
> > Sure, however automagical changes are not what I want to see happen
> > at commit time.
> My 'automagically' is more a 'by a script' and I see a
> 'PHP_Beautifier' as a common tool for people who need a tool to make a
> script 'human readable' (based on PEAR CS) like XML_Beautifier does it
> with XML docs.
Well, as a first step how if we get a normal package PHP_Beautifier
into PEAR? But imho it should be possible to fine-tune it with
various settings, so if you use a different CS at work (many
companies have strict CS) and they want you to indent differently or
so you could simply change a config-file and tell the beautifier to
use those other presets.
I'm in favor of a PHP_Beautifier. So Matthias, was this an offer
you're going to write one? Nice, really! Go ahead ...
Stefan