Skip to content

Feature request: CLI option to clear the results cache #20

Open
@jrfnl

Description

@jrfnl

Repost from squizlabs/PHP_CodeSniffer#2993:

While testing #2992, I really missed an option to clear the cache, but allow for it to be set.

The --no-cache option only tells PHPCS to not use the cache for that particular run.

It doesn't clear an existing cache file, or in case of the temp directory being used: clear all existing cache files, as those can accumulate to be quite a large number of files quickly.

Please consider this a feature request for a CLI argument to clear the cache(s) to be added.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions