Hi,
Do you know of any script class or whatever that would format a code according to PEAR coding standard.
10x in advance.
class to format code to PEAR coding standard
Moderator: General Moderators
http://mysite.wanadoo-members.co.uk/ind ... utify.html
You would have to configure each of the options to match PEAR's coding standards, but it should meet your needs.
You would have to configure each of the options to match PEAR's coding standards, but it should meet your needs.
This will not be capble of catching php5 syntax I suppose.Roja wrote:http://mysite.wanadoo-members.co.uk/ind ... utify.html
You would have to configure each of the options to match PEAR's coding standards, but it should meet your needs.
Let alone it says it is for C. I know php is very close to C but still...
It is capable of catching php5 syntax, and it does work for PHP - I've used it before.jmut wrote:This will not be capble of catching php5 syntax I suppose.Roja wrote:http://mysite.wanadoo-members.co.uk/ind ... utify.html
You would have to configure each of the options to match PEAR's coding standards, but it should meet your needs.
Let alone it says it is for C. I know php is very close to C but still...
As I said, it does take time to configure it properly, but it can in fact do what you are looking for.
There is a different project that also can be used, depending on your PHP configuration: http://www.beautifier.org/
good enough. thanks a lotRoja wrote:It is capable of catching php5 syntax, and it does work for PHP - I've used it before.jmut wrote:This will not be capble of catching php5 syntax I suppose.Roja wrote:http://mysite.wanadoo-members.co.uk/ind ... utify.html
You would have to configure each of the options to match PEAR's coding standards, but it should meet your needs.
Let alone it says it is for C. I know php is very close to C but still...
As I said, it does take time to configure it properly, but it can in fact do what you are looking for.
There is a different project that also can be used, depending on your PHP configuration: http://www.beautifier.org/
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US