<commit_before><?php

namespace Bartlett\Tests\Monolog\Handler;

use Monolog\Logger;

abstract class TestCase extends \PHPUnit_Framework_TestCase
{
    /**
     * @return array Record
     */
    protected function getRecord($level = Logger::WARNING, $message = 'test', $context = array())
    {<commit_msg>make tests PHPUnit 6 compatible<commit_after><?php

namespace Bartlett\Tests\Monolog\Handler;

use Monolog\Logger;

abstract class TestCase extends \PHPUnit\Framework\TestCase
{
    /**
     * @return array Record
     */
    protected function getRecord($level = Logger::WARNING, $message = 'test', $context = array())
    {
{'fraction_non_alphanumeric': 0.12025316455696203, 'fraction_numerical': 0.0015822784810126582, 'mean_word_length': 3.984251968503937, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4075660', 'n_tokens_mistral': 179, 'n_tokens_neox': 179, 'n_words': 46}