@inheritDoc
Overrides ChangeReportInterface::getLocalChanges
public function getLocalChanges(PackageInterface $package, string $path) : ?string { if (!is_dir($path . '/.hg')) { return null; } $this->process ->execute([ 'hg', 'st', ], $output, realpath($path)); $output = trim($output); return strlen($output) > 0 ? $output : null; }