Error when running PHP_CodeSniffer-0.5.0

From: Date: Thu, 03 May 2007 23:22:10 +0000
Subject: Error when running PHP_CodeSniffer-0.5.0
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27201@lists.php.net to get a copy of this message
Hi, I installed PHP_CodeSniffer using the following command: pear install PHP_CodeSniffer-0.5.0 and it seemed to install fine. When I try to run it on a file using the following command: phpcs <filenametotest> I get the following error messages: PHP Fatal error: Class 'PEAR\Sniffs\Commenting\ClassCommentSniff' not found in C:\PHP\PEAR\PHP\CodeSniffer\File.php on line 319 Fatal error: Class 'PEAR\Sniffs\Commenting\ClassCommentSniff' not found in C:\PHP\PEAR\PHP\CodeSniffer\File.php on line 319 Call Stack:
0.0012     109600   1. {main}() C:\PHP\phpcs:0
0.0291     884496   2. PHP_CodeSniffer->process()
C:\PHP\phpcs:203
0.1107    2224584   3. PHP_CodeSniffer->_processFile()
C:\PHP\PEAR\PHP\CodeSniffer.php:184
0.1108    2225672   4. PHP_CodeSniffer_File->__construct()
C:\PHP\PEAR\PHP\CodeSniffer.php:374 Any help is appreciated, thanks!

« previous php.pear.general (#27201) next »