File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -834,7 +834,7 @@ private function handleWarmCoverageCache(XmlConfiguration\Configuration $configu
834
834
if (isset ($ this ->arguments ['coverageCacheDirectory ' ])) {
835
835
$ cacheDirectory = $ this ->arguments ['coverageCacheDirectory ' ];
836
836
} elseif ($ configuration ->codeCoverage ()->hasCacheDirectory ()) {
837
- $ cacheDirectory = $ configuration ->codeCoverage ()->cacheDirectory ();
837
+ $ cacheDirectory = $ configuration ->codeCoverage ()->cacheDirectory ()-> path () ;
838
838
} else {
839
839
print 'Cache for static analysis has not been configured ' . PHP_EOL ;
840
840
@@ -870,7 +870,7 @@ private function handleWarmCoverageCache(XmlConfiguration\Configuration $configu
870
870
print 'Warming cache for static analysis ... ' ;
871
871
872
872
(new CacheWarmer )->warmCache (
873
- $ cacheDirectory-> path () ,
873
+ $ cacheDirectory ,
874
874
!$ configuration ->codeCoverage ()->disableCodeCoverageIgnore (),
875
875
$ configuration ->codeCoverage ()->ignoreDeprecatedCodeUnits (),
876
876
$ filter
You can’t perform that action at this time.
0 commit comments