![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| 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! | |||
|
| | #2 | ||
| 2007/5/3, steven hubele <stevenhubele@gmail.com>: > Hi, I installed PHP_CodeSniffer using the following command: [snip] > phpcs <filenametotest> [snip] > 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 http://pear.php.net/bugs/bug.php?id=10751 -- Lars Olesen Gratis backup https://mozy.com/?code=9MYJPF | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: error, php_codesniffer050, running |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MDB2 - how to catch "MDB2 Error: constraint violation" error? | l Burnerheimerton | Pear | 1 | 05-20-2007 5:34 PM |
| MDB2 - disregard - meant catching Quickform error: => custom rule | l Burnerheimerton | Pear | 0 | 05-20-2007 5:34 PM |
| Strange fatal error in terminal | shimmyshack | PHP | 0 | 05-20-2007 5:33 PM |
| What's everybody running? | thekl0wn | Car audio | 0 | 12-21-2006 3:16 PM |
| Running XP and a Linux on the same CPC? | Fangled | Operating Systems And Software | 1 | 07-02-2006 8:09 PM |
| Featured Websites | ||||
|