<commit_before><?php
class IRCBot_Commands_Mode extends IRCBot_Types_Command
{
    public $mask;
    public $target;
    public $modes; 
    
    public function fromRawData($rawData)
    {
        preg_match('/\:(.+) MODE (.+) (\:)?(.+)/', $rawData, $matches);
        list(, $this->mask, $this->target,, $this->modes) = $matches;
        $this->mask = new IRCBot_Types_Mask($this->mask);
        var_dump($this);
    }
    public function getEventName()
    {
        return 'onMode';
    }
    public function  __toString()
    {
        return sprintf('NICK %s', $this->newNick) . "\n\r";
    }
}<commit_msg>Made some more changes to the Mode command class<commit_after><?php
class IRCBot_Commands_Mode extends IRCBot_Types_Command
{
    public $mask;
    public $target;
    public $modes; 
    
    public function fromRawData($rawData)
    {
        preg_match('/\:(.+) MODE (.+) (\:)?(.+)/', $rawData, $matches);
        list(, $this->mask, $this->target,, $this->modes) = $matches;
        $this->mask = new IRCBot_Types_Mask($this->mask);
        var_dump($this);
    }
    public function getEventName()
    {
        return 'onMode';
    }
    public function  __toString()
    {
        return sprintf('MODE %s %s', $this->target, $this->modes) . "\n\r";
    }
}
{'fraction_non_alphanumeric': 0.17019607843137255, 'fraction_numerical': 0.0, 'mean_word_length': 2.6045197740112993, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, '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': '77005', 'n_tokens_mistral': 441, 'n_tokens_neox': 428, 'n_words': 90}