<commit_before><?php
namespace phpFastCache\Helper;

use phpFastCache\Api;

/**
 * Class TestHelper
 * @package phpFastCache\Helper
 */
class TestHelper
{
    /**
     * @var int
     */
    protected $exitCode = 0;

    public function __construct($testName)
    {
        $this->printText('[PhpFastCache API v' . Api::getVersion() . ']', true);
        $this->printText("[Begin Test: '{$testName}']");
        $this->printText('---');
    }

    /**
     * @return int
     */
    public function getExitCode()
    {
        return $this->exitCode;
    }

    /**
     * @return $this
     */
    public function resetExitCode()
    {<commit_msg>Added PhpDoc to TestHelper constructor<commit_after><?php
namespace phpFastCache\Helper;

use phpFastCache\Api;

/**
 * Class TestHelper
 * @package phpFastCache\Helper
 */
class TestHelper
{
    /**
     * @var int
     */
    protected $exitCode = 0;

    /**
     * TestHelper constructor.
     * @param $testName
     */
    public function __construct($testName)
    {
        $this->printText('[PhpFastCache API v' . Api::getVersion() . ']', true);
        $this->printText("[Begin Test: '{$testName}']");
        $this->printText('---');
    }

    /**
     * @return int
     */
    public function getExitCode()
    {
        return $this->exitCode;
    }

    /**
     * @return $this
     */
    public function resetExitCode()
    {
{'fraction_non_alphanumeric': 0.15948275862068967, 'fraction_numerical': 0.0014367816091954023, 'mean_word_length': 2.2022988505747128, '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': '3938719', 'n_tokens_mistral': 449, 'n_tokens_neox': 440, 'n_words': 88}