Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 5, 2024
1 parent 5887ea1 commit 2737983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tester/MutationTestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public function run(): int
return 1;
}


$this->clearCacheIfPluginVersionChanged();

$mutationSuite = MutationSuite::instance();
Expand All @@ -108,7 +109,6 @@ public function run(): int
/** @var CodeCoverage $codeCoverage */
$codeCoverage = require $reportPath;

unlink($reportPath);
$coveredLines = array_map(fn (array $lines): array => array_filter($lines, fn (?array $tests): bool => $tests !== [] && $tests !== null), $codeCoverage->getData()->lineCoverage());
$coveredLines = array_filter($coveredLines, fn (array $lines): bool => $lines !== []);

Expand Down

0 comments on commit 2737983

Please sign in to comment.