<commit_before><?php
namespace WhichBrowserTest;

use PHPUnit_Framework_TestCase;
use WhichBrowser\Parser;
use Cache\Adapter\PHPArray\ArrayCachePool;

/**
 * @covers WhichBrowser\Parser
 */
class CacheTest extends PHPUnit_Framework_TestCase
{
    /**
     * @requires PHP 5.5
     */

    public function testCreatingParserWithoutArgumentsAndCallAnalyse()
    {
        function countCachedItems($pool) {
            $items = 0;

            $reflector = new \ReflectionClass($pool);
            if ($reflector->hasProperty('cache')) {
                $property = $reflector->getProperty('cache');
                $property->setAccessible(true);<commit_msg>Fix @covers<commit_after><?php
namespace WhichBrowserTest;

use PHPUnit_Framework_TestCase;
use WhichBrowser\Parser;
use Cache\Adapter\PHPArray\ArrayCachePool;

/**
 * @covers WhichBrowser\Cache
 */
class CacheTest extends PHPUnit_Framework_TestCase
{
    /**
     * @requires PHP 5.5
     */

    public function testCreatingParserWithoutArgumentsAndCallAnalyse()
    {
        function countCachedItems($pool) {
            $items = 0;

            $reflector = new \ReflectionClass($pool);
            if ($reflector->hasProperty('cache')) {
                $property = $reflector->getProperty('cache');
                $property->setAccessible(true);
{'fraction_non_alphanumeric': 0.11212814645308924, 'fraction_numerical': 0.004576659038901602, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1041349', 'n_tokens_mistral': 364, 'n_tokens_neox': 351, 'n_words': 66}