Re: PEAR Coding Standards question

From: Date: Thu, 21 Aug 2008 22:59:19 +0000
Subject: Re: PEAR Coding Standards question
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50613@lists.php.net to get a copy of this message
Kevin van Zonneveld wrote:
On Fri, Aug 22, 2008 at 12:03 AM, Joshua Eichorn <josh@bluga.net> wrote:
Cool we will try to get this straighted out and updated in the docs after the next meeting.
    
I was about to write a separate mail to you guys, but reading this I trust that isn't necessary anymore. If you can email me what you think it should look like that would be helpful. But i will bring it up at the meeting (already added it to the agenda)
Auto updating of formating sounds like a good idea.
    
Well there also are some compelling arguments against it: http://pear.php.net/manual/en/package.php.php-codesniffer.faq.php And it's probably a good thing that a PEAR package doesn't attempt to modify existing code in such a way. There will always be people who don't RTM, put their trust in PEAR, and destroy their applications/businesses/lives. Still I find myself in a position where I - already know the PEAR Coding standards, new code is compliant - am confronted with loads of legacy code by different authors - am willing to review & test modified scripts afterwards, and to take responsibility for errors it may create Though it backs up files, checks syntax afterwards, and currently fixes about 95% of the warnings & errors, the fact that the modified source cannot be guaranteed to be 100% bug-free, will make it a poor PEAR package I guess.
Yeah I'd just like a tool like that to clean up code that I know is already close but needs a lot of comment/doc cleanup. -josh

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