<commit_before><?php
/**
 * Effortless maintenance management (http://juliangut.com/janitor)
 *
 * @link https://github.com/juliangut/janitor for the canonical source repository
 *
 * @license https://github.com/juliangut/janitor/blob/master/LICENSE
 */

namespace Janitor\Test\Excluder;

use Janitor\Excluder\Path;
use Zend\Diactoros\ServerRequestFactory;

/**
 * @covers \Janitor\Excluder\Path
 */
class PathTest extends \PHPUnit_Framework_TestCase
{
    protected $excludedPaths = [
        '/user',
        '/^\/blog\/.+/'
    ];

    /**
     * @covers \Janitor\Excluder\Path::__construct
     * @covers \Janitor\Excluder\Path::addPath<commit_msg>missing comma<commit_after><?php
/**
 * Effortless maintenance management (http://juliangut.com/janitor)
 *
 * @link https://github.com/juliangut/janitor for the canonical source repository
 *
 * @license https://github.com/juliangut/janitor/blob/master/LICENSE
 */

namespace Janitor\Test\Excluder;

use Janitor\Excluder\Path;
use Zend\Diactoros\ServerRequestFactory;

/**
 * @covers \Janitor\Excluder\Path
 */
class PathTest extends \PHPUnit_Framework_TestCase
{
    protected $excludedPaths = [
        '/user',
        '/^\/blog\/.+/',
    ];

    /**
     * @covers \Janitor\Excluder\Path::__construct
     * @covers \Janitor\Excluder\Path::addPath
{'fraction_non_alphanumeric': 0.14942528735632185, 'fraction_numerical': 0.0, 'mean_word_length': 3.442176870748299, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '348272', 'n_tokens_mistral': 454, 'n_tokens_neox': 437, 'n_words': 68}