HH\enable_per_file_coverage

Begin collecting code coverage on all subsequent calls into files in $files during this request

namespace HH;

function enable_per_file_coverage(
  keyset<string> $files,
): void;

The requst must be executing in non-RepoAuthoritative mode and the server must be configured with Eval.EnablePerFileCoverage = true.

Parameters

  • keyset<string> $files a list of paths to collect coverage from

Returns

  • void