public function generateUnifiedDiff()
    {
        $builder = new PhpDiffBuilder();

        return $builder->buildPatch(
            'a/' . $this->path,
            'b/' . $this->path,
            $this->buffer
        );
    }