<commit_before><?php

/**
 * This file is part of PhergieHttp.
 *
 ** (c) 2014 <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace WyriHaximus\Phergie\Plugin\Http;

/**
 * Plugin for Provide HTTP functionality to other plugins.
 *
 * @category Phergie
 * @package WyriHaximus\Phergie\Plugin\Http
 */
class Request
{
    /**
     * Accepts plugin configuration.
     *
     * Supported keys:
     *
     *
     *
     * @param array $config
     */
    public function __construct(array $config)
    {
        $this->config = $config;

        $this->setDefaults();
    }

    public function getConfig() {
        return $this->config;
    }

    protected function setDefaults() {

    }
}
<commit_msg>Url index is required<commit_after><?php

/**
 * This file is part of PhergieHttp.
 *
 ** (c) 2014 <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace WyriHaximus\Phergie\Plugin\Http;

/**
 * Plugin for Provide HTTP functionality to other plugins.
 *
 * @category Phergie
 * @package WyriHaximus\Phergie\Plugin\Http
 */
class Request
{
    /**
     * Accepts plugin configuration.
     *
     * Supported keys:
     *
     *
     *
     * @param array $config
     */
    public function __construct(array $config)
    {
        $this->config = $config;
        
        if (!isset($this->config['url']) {
            throw new \InvalidArgumentException('Missing url index');
        }
        
        $this->setDefaults();
    }

    public function getConfig() {
        return $this->config;
    }

    protected function setDefaults() {

    }
}

{'fraction_non_alphanumeric': 0.11358447488584475, 'fraction_numerical': 0.0045662100456621, 'mean_word_length': 2.332699619771863, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, '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': '4391166', 'n_tokens_mistral': 536, 'n_tokens_neox': 511, 'n_words': 146}