grumphp icon indicating copy to clipboard operation
grumphp copied to clipboard

Add 'cache_file' parameter to 'deptrac' task.

Open TravisCarden opened this issue 3 years ago • 0 comments

Q A
Branch master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes
Fixed tickets

Deptrac provides a --cache-file option to control where its cache file will be stored. This PR adds support for it with a new grumphp.tasks.deptrac.cache_file option in grumphp.yml, i.e.:

grumphp:
    tasks:
        deptrac:
            cache_file: ~

I updated the corresponding unit test. I didn't see any functional tests, but I manually tested it and it worked great.

TravisCarden avatar Jul 06 '22 16:07 TravisCarden