PHPCodeSniffer - Disable sniffs temporary for unit testing
| From: | Christian Kaps | Date: | Wed, 25 Nov 2009 18:37:15 +0000 |
| Subject: | PHPCodeSniffer - Disable sniffs temporary for unit testing | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30171@lists.php.net to get a copy of this message | ||
Hi,
I have two sniffs. The first sniff checks for valid class names. The
second sniff warns about multiple class definitions in one file. For
testing the first sniff, I have a unit test that defines multiple
classes in one file. The seconds sniff prints now warnings. Can I
disable the second sniff temporary for testing the first sniff?
Greetings,
Christian