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

Request #16693 Support for incremental scans
Submitted: 2009-10-12 18:13 UTC
From: sebastian Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version CVS)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 27 - 15 = ?

 
 [2009-10-12 18:13 UTC] sebastian (Sebastian Bergmann)
Description: ------------ Running phpcs on a large code base in the context of continuous integration can be very time consuming. Just because a couple of files have changed (for which phpcs would run for a couple of seconds or minutes) should not mean that phpcs needs to be run for all files again (which can take an hour). It would be beneficial if phpcs could be pointed to a previously generated Checkstyle XML logfile and be given a list of changed files. It would then scan the changed files and update the relevant sections of the Checkstyle XML logfile. I am not entirely sure whether this functionality belongs into phpcs itself or if it should be implemented in phpUnderControl, for instance.

Comments

 [2015-06-29 07:59 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
Finally closing this as the 3.0 branch has caching support so only modified files are checked. More details here: https://github.com/squizlabs/PHP_CodeSniffer/issues/530