Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.7.2

Request #10979 Add switch to ignore subdirectories
Submitted: 2007-05-08 13:05 UTC
From: troehr Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 0.5.0)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2007-05-08 13:05 UTC] troehr (Torsten Roehr)
Description: ------------ Currently all files in the specified directory AND all files in all subdirectories are parsed. It would be great if a CLI switch could be added to ignore parsing the files in subdirectories and only parse the files in the specified folder itself. Thanks and best regards, Torsten Roehr

Comments

 [2007-05-08 22:10 UTC] squiz (Greg Sherwood)
Great feature idea.
 [2007-05-09 06:45 UTC] squiz (Greg Sherwood)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. There is now a new command line argument -l (lowercase L) to process directories specified without recursing into sub-directories.