[wp-trac] [WordPress Trac] #49783: PHPCS config: Persistent caching on Travis

WordPress Trac noreply at wordpress.org
Thu Apr 2 22:38:04 UTC 2020


#49783: PHPCS config: Persistent caching on Travis
------------------------------+-------------------------------
 Reporter:  johnbillion       |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.5
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by jrf):

 Just checking: if I remember correctly, the caching feature checks if
 files have been changed since the last run and only runs phpcs on those
 changed files.

 What I'm not so sure about is, whether the cache gets invalidated when
 PHPCS and/or external standards used with it, has been updated (i.e.
 `composer update`) and whether the cache gets invalidated if any of the
 used rulesets (project + underlying) change.

 This should really need be verified in detail as if that is not the case,
 only changed files would get the benefit of updated rulesets/sniffs/fixes
 etc and the cache would quickly contain a lot of outdated information.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49783#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list