<commit_before><?php

namespace App\Lib\Data;

use R\Hive\Contracts\Data\GenericValidator as GenericValidatorContract;
use Validator;

class BaseValidator implements GenericValidatorContract
{
    protected $rules;
    protected $errors = null;

    public function getErrors()
    {
        return $this->errors;
    }

    public function hasErrors()
    {
        return $this->errors !== null;
    }
<commit_msg>Fix incorrect namespace.<commit_after><?php

namespace R\Hive\Concrete\Data;

use R\Hive\Contracts\Data\GenericValidator as GenericValidatorContract;
use Validator;

class BaseValidator implements GenericValidatorContract
{
    protected $rules;
    protected $errors = null;

    public function getErrors()
    {
        return $this->errors;
    }

    public function hasErrors()
    {
        return $this->errors !== null;
    }

{'fraction_non_alphanumeric': 0.09400705052878966, 'fraction_numerical': 0.0, 'mean_word_length': 3.2814070351758793, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4536129', 'n_tokens_mistral': 237, 'n_tokens_neox': 234, 'n_words': 60}