<commit_before><?php

namespace ReadmeGen\Vcs;

use ReadmeGen\Vcs\Type\TypeInterface;

/**
 * VCS log parser.
 * 
 * Used to return the VCS log as an array.
 */
class Parser
{
    /**
     * @var TypeInterface
     */
    protected $vcs;

    public function __construct(TypeInterface $vcs)
    {
        $this->vcs = $vcs;
    }

    /**
     * Returns the parsed log.
     * 
     * @return array
     */
    public function parse()
    {
        return $this->vcs->parse();
    }

    /**
     * Returns the VCS parser.
     * 
     * @return TypeInterface
     */
    public function getVcsParser()
    {
        return $this->vcs;
    }
}<commit_msg>Minor cleanup.<commit_after><?php namespace ReadmeGen\Vcs;

use ReadmeGen\Vcs\Type\TypeInterface;

/**
 * VCS log parser.
 * 
 * Used to return the VCS log as an array.
 */
class Parser
{
    /**
     * VCS-specific parser.
     * 
     * @var TypeInterface
     */
    protected $vcs;

    public function __construct(TypeInterface $vcs)
    {
        $this->vcs = $vcs;
    }

    /**
     * Returns the parsed log.
     * 
     * @return array
     */
    public function parse()
    {
        return $this->vcs->parse();
    }

    /**
     * Returns the VCS parser.
     * 
     * @return TypeInterface
     */
    public function getVcsParser()
    {
        return $this->vcs;
    }
}
{'fraction_non_alphanumeric': 0.12704309063893016, 'fraction_numerical': 0.0, 'mean_word_length': 1.7433808553971486, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6467404', 'n_tokens_mistral': 456, 'n_tokens_neox': 443, 'n_words': 105}