<commit_before><?php
/**
 * This file is part of phpswitch.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace jubianchi\PhpSwitch\PHP\Option;

class Symfony2Option extends DefaultOption
{
    const ARG = 'symfony2';
    const DESC = 'symfony2 configure options';

    /**
     * @return \jubianchi\PhpSwitch\PHP\Option\Option[]
     */
    public function requires()
    {
        return array_merge(
            parent::requires(),
            array(
                new Enable\SessionOption(),
                new With\PCREOption(),
                new Enable\IntlOption(),
                new With\PDOMySQLOption()
            )
        );
    }
}
<commit_msg>add curl, hash and zip to use composer in the sf2 config<commit_after><?php
/**
 * This file is part of phpswitch.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace jubianchi\PhpSwitch\PHP\Option;

class Symfony2Option extends DefaultOption
{
    const ARG = 'symfony2';
    const DESC = 'symfony2 configure options';

    /**
     * @return \jubianchi\PhpSwitch\PHP\Option\Option[]
     */
    public function requires()
    {
        return array_merge(
            parent::requires(),
            array(
                new Enable\SessionOption(),
                new With\PCREOption(),
                new Enable\IntlOption(),
                new With\PDOMySQLOption(),
                new With\CURLOption(),
                new Enable\HashOption(),
                new Enable\ZIPOption()
            )
        );
    }
}

{'fraction_non_alphanumeric': 0.10444316214656665, 'fraction_numerical': 0.004039238315060588, 'mean_word_length': 1.9742710120068612, 'pattern_counts': {'":': 0, '<': 11, '<?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': '1457373', 'n_tokens_mistral': 499, 'n_tokens_neox': 481, 'n_words': 137}