[wp-trac] [WordPress Trac] #49783: PHPCS config: Persistent caching on Travis
WordPress Trac
noreply at wordpress.org
Wed Jun 3 18:05:19 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
------------------------------+-------------------------------
Changes (by desrosj):
* keywords: has-patch commit => has-patch
Comment:
[attachment:"49783.2.diff"] changes the cache file name to `.phpcs-
cache.json` and moves it to the root directory as suggested by @jrf. I
experimented with using a `cache` directory in root, but it seems that
PHPCS wants the directory to exist.
[attachment:"49783.2.diff"] also adds a `.phpcompat-cache.json` file to
cache PHP compatibility scans.
In my testing, though, I could only get the compatibility cache file to be
created and work correctly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49783#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list