Re: Surprising WARNING with PHP_CodeSniffer 1.0.0RC1
| From: | Greg Sherwood | Date: | Sun, 04 Nov 2007 08:50:05 +0000 |
| Subject: | Re: Surprising WARNING with PHP_CodeSniffer 1.0.0RC1 | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48409@lists.php.net to get a copy of this message | ||
Laurent Laville wrote:
Hi Greg, Thanks to you and Carsten to gave me an answer. My surprise was on alignment of equals signs not on line identing. BTW, is there a way to define level of warning we don't take care : Actually (hope I'm not wrong), all warnings are remove at once with phpcs -n Yes, this is correct. There are only two levels; warning and error.
Perharps a solution with a phpcs --config-set=XXXXX ? Sounds like a good idea. I'll add it in.
Oh and last, I just want to let you know there is a typo error on phpcs --help (screen) <generator> The name of a doc genertor to use ---------------------------------------^ Thanks for spotting that.Greg