<commit_before><?php
return array(
    'container' => array(
        'flash' => array(
            'component' => function (\Moss\Container\ContainerInterface $container) {
                    return new \Moss\Http\Session\FlashBag($container->get('session'));
                },
            'shared' => true,
        ),
        'security' => array(
            'component' => function (\Moss\Container\ContainerInterface $container) {
                    $stash = new \Moss\Security\TokenStash($container->get('session'));

                    // uri to login action
                    $url = $container
                        ->get('router')
                        ->make('login');

                    $security = new \Moss\Security\Security($stash, $url);

                    // protects all actions but index and login
                    $security->registerArea(new \Moss\Security\Area('/(!index|login|auth)'));

                    // registers fake provider
                    $security->registerUserProvider(new \Moss\Sample\Provider\UserProvider());

                    return $security;
                },
            'shared' => true
        )
    ),
    'dispatcher' => array(
        'kernel.route' => array(<commit_msg>simpler area pattern<commit_after><?php
return array(
    'container' => array(
        'flash' => array(
            'component' => function (\Moss\Container\ContainerInterface $container) {
                    return new \Moss\Http\Session\FlashBag($container->get('session'));
                },
            'shared' => true,
        ),
        'security' => array(
            'component' => function (\Moss\Container\ContainerInterface $container) {
                    $stash = new \Moss\Security\TokenStash($container->get('session'));

                    // uri to login action
                    $url = $container
                        ->get('router')
                        ->make('login');

                    $security = new \Moss\Security\Security($stash, $url);

                    // protects all actions but index and login
                    $security->registerArea(new \Moss\Security\Area('/source'));

                    // registers fake provider
                    $security->registerUserProvider(new \Moss\Sample\Provider\UserProvider());

                    return $security;
                },
            'shared' => true
        )
    ),
    'dispatcher' => array(
        'kernel.route' => array(
{'fraction_non_alphanumeric': 0.13298302344381568, 'fraction_numerical': 0.0, 'mean_word_length': 1.4577954319761668, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, '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': '6412549', 'n_tokens_mistral': 608, 'n_tokens_neox': 573, 'n_words': 119}