<commit_before><?php
declare(strict_types=1);

namespace tests;

use Selami\Test\Abstracts\DataType;

class MyIntegerClass extends DataType
{

    public function setUp()
    {
        $this->className    = '\\Selami\\Entity\\DataType\\Integer';
        $this->validValue   = true;
        $this->key          = 'is_active';
        $this->options      = [];
    }

    public function trueProvider()
    {
        return [
            [0],
            [PHP_INT_MIN],
            [PHP_INT_MAX]
        ];
    }

    public function exceptionProvider()
    {
        return [
            ['2323'],
            [0.1],
            [(PHP_INT_MAX+1)]
        ];
    }

    public function defaultsProvider()
    {
        return [<commit_msg>IntegerTest refactored<commit_after><?php
declare(strict_types=1);

namespace tests;

use Selami\Test\Abstracts\DataType;

class MyIntegerClass extends DataType
{

    public function setUp()
    {
        $this->className    = '\\Selami\\Entity\\DataType\\Integer';
        $this->validValue   = true;
        $this->key          = 'is_active';
        $this->options      = [];
    }

    public function trueProvider()
    {
        return [
            [0],
            [PHP_INT_MIN],
            [PHP_INT_MAX]
        ];
    }

    public function exceptionProvider()
    {
        return [
            ['2323'],
            [0.1],
            [PHP_INT_MAX+1]
        ];
    }

    public function defaultsProvider()
    {
        return [
{'fraction_non_alphanumeric': 0.12424037812288993, 'fraction_numerical': 0.012153950033760972, 'mean_word_length': 1.5909090909090908, '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': '6621953', 'n_tokens_mistral': 448, 'n_tokens_neox': 435, 'n_words': 77}