public static function fromCheckAndCodeParseFailure(CheckInterface $check, ParseErrorException $e, $file)
    {
        return new static(
            $check->getName(),
            sprintf('File: "%s" could not be parsed. Error: "%s"', $file, $e->getMessage())
        );
    }