<commit_before>imports:
    - { resource: config.yml }

doctrine:
    orm:
        metadata_cache_driver: %doctrine_cache_backend%
        result_cache_driver: %doctrine_cache_backend%
        query_cache_driver: %doctrine_cache_backend%

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      nested
            excluded_404s:
                - ^/
        nested:
            type:  stream
            path:  %kernel.logs_dir%/%kernel.environment%.log
            level: debug

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn: %redis_dsn%
        session:
            type: predis
            alias: session
            dsn: %redis_session_dsn%
    session:
        client: session

framework:
    session:
        cookie_secure: %force_ssl%
    validation:
        cache: %validation_cache_backend%

nelmio_security:
    clickjacking:
        paths:
            '^/.*': DENY
    forced_ssl:
        enabled: %force_ssl%
        hsts_max_age: 31104000 # 1y<commit_msg>Define redis profile to allow usage of advanced features<commit_after>imports:
    - { resource: config.yml }

doctrine:
    orm:
        metadata_cache_driver: %doctrine_cache_backend%
        result_cache_driver: %doctrine_cache_backend%
        query_cache_driver: %doctrine_cache_backend%

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      nested
            excluded_404s:
                - ^/
        nested:
            type:  stream
            path:  %kernel.logs_dir%/%kernel.environment%.log
            level: debug

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn: %redis_dsn%
            options:
                profile: 2.8
        session:
            type: predis
            alias: session
            dsn: %redis_session_dsn%
    session:
        client: session

framework:
    session:
        cookie_secure: %force_ssl%
    validation:
        cache: %validation_cache_backend%

nelmio_security:
    clickjacking:
        paths:
            '^/.*': DENY
    forced_ssl:
        enabled: %force_ssl%
        hsts_max_age: 31104000 # 1y
{'fraction_non_alphanumeric': 0.07293914544669831, 'fraction_numerical': 0.011221406991799741, 'mean_word_length': 1.6074240719910011, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '892520', 'n_tokens_mistral': 704, 'n_tokens_neox': 674, 'n_words': 138}