For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2007 > Re: [PEAR] PHP_CodeSniffer Add in a specific Sniff for every file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] PHP_CodeSniffer Add in a specific Sniff for every file
Paul Scott

2007-05-16, 4:03 am


On Wed, 2007-05-16 at 16:03 +1000, Greg Sherwood wrote:
> Either way, you'll need to create your own coding standard directory and
> a coding standard class (check the docs for a tutorial). In your coding
> standard class, you'll want to define a list of sniffs that your new
> standard includes.


I have already created a new standard and most of it is working just
fine. Just this little problem is getting me down at the moment.

I will take another look at it today and see what I can do with
manipulating the FileCommentSniff that I already have, and let you know
what is happening.

On another note, I will be deploying this stuff as a web service at some
stage, and could easily use the existing standards as well if anyone has
an interest in that. Please let me know, and or email me your standards
if you would like to have them included; that way, we could build up a
decent service that a whole lot of people could use without the hassle
of creating a standard for themselves without polluting PEAR with a
zillion similar standards.

--Paul


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com