<commit_before>imports:
    - { resource: parameters.yml }
    - { resource: security.yml }
    - { resource: services.yml }
    - { resource: "@CoreBundle/Resources/config/services.yml" }
    - { resource: "@WebsocketServerBundle/Resources/config/services.yml" }
    - { resource: "@ApiBundle/Resources/config/services.yml" }
    - { resource: "@ImmortalchessNetBundle/Resources/config/services.yml" }
    - { resource: "@WebsocketClientBundle/Resources/config/services.yml" }

# Put parameters here that don't need to change on each machine where the app is deployed
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
    locale: ru

framework:
    #esi:             ~
    translator:      { fallbacks: ["%locale%"] }
    secret:          "%secret%"
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
        strict_requirements: ~
    form:            ~
    csrf_protection: ~
    validation:      { enable_annotations: true }
    #serializer:      { enable_annotations: true }
    templating:
        engines: ['twig']
        #assets_version: SomeVersionScheme
    default_locale:  "%locale%"
    trusted_hosts:   ~
    trusted_proxies: ~
    session:
        # handler_id set to null will use default session handler from php.ini
        handler_id:  ~
        save_path:   "%kernel.root_dir%/../var/sessions/%kernel.environment%"
    fragments:       ~
    http_method_override: true
    assets: ~

# Twig Configuration
twig:
    debug:            "%kernel.debug%"
    strict_variables: "%kernel.debug%"

# Doctrine Configuration
doctrine:
    dbal:
        connections:
          default:
              driver:   "%database_driver%"
              host:     "%database_host%"
              port:     "%database_port%"
              dbname:   "%database_name%"
              user:     "%database_user%"
              password: "%<PASSWORD>%"
              charset:  UTF8
              mapping_types:
                  enum: string
              schema_filter: ~^(?!t_)~
              # if using pdo_sqlite as your database driver:
              #   1. add the path in parameters.yml
              #     e.g. database_path: "%kernel.root_dir%/data/data.db3"
              #   2. Uncomment database_path in parameters.yml.dist
              #   3. Uncomment next line:
              #     path:     "%database_path%"
          immortalchess:
              driver:   "%app_immortalchess.database_driver%"
              host:     "%app_immortalchess.database_host%"
              port:     "%app_immortalchess.database_port%"
              dbname:   "%app_immortalchess.database_name%"
              user:     "%app_immortalchess.database_user%"
              password: "%<PASSWORD>%"
              charset:  UTF8
              mapping_types:
                  enum: string
    orm:
        default_entity_manager: default
        auto_generate_proxy_classes: "%kernel.debug%"
        entity_managers:
          default:
            naming_strategy: doctrine.orm.naming_strategy.underscore
            auto_mapping: true
          immortalchess:
              connection: immortalchess
              mappings:
                ImmortalchessNetBundle: ~

# Swiftmailer Configuration
swiftmailer:
    transport: "%mailer_transport%"
    host:      "%mailer_host%"
    username:  "%mailer_user%"
    password:  <PASSWORD>%"
    spool:     { type: memory }

fos_rest:
    routing_loader:
        default_format: json

nelmio_api_doc: ~

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            channels: [!ws]
        ws:
            type: stream
            path: "%kernel.logs_dir%/ws.log"
            level: error
            channels: [ws]

services:
    twig.extension.intl:
        class: Twig_Extensions_Extension_Intl
        tags:
            - { name: twig.extension }<commit_msg>Optimize logs<commit_after>imports:
    - { resource: parameters.yml }
    - { resource: security.yml }
    - { resource: services.yml }
    - { resource: "@CoreBundle/Resources/config/services.yml" }
    - { resource: "@WebsocketServerBundle/Resources/config/services.yml" }
    - { resource: "@ApiBundle/Resources/config/services.yml" }
    - { resource: "@ImmortalchessNetBundle/Resources/config/services.yml" }
    - { resource: "@WebsocketClientBundle/Resources/config/services.yml" }

# Put parameters here that don't need to change on each machine where the app is deployed
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
    locale: ru

framework:
    #esi:             ~
    translator:      { fallbacks: ["%locale%"] }
    secret:          "%secret%"
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
        strict_requirements: ~
    form:            ~
    csrf_protection: ~
    validation:      { enable_annotations: true }
    #serializer:      { enable_annotations: true }
    templating:
        engines: ['twig']
        #assets_version: SomeVersionScheme
    default_locale:  "%locale%"
    trusted_hosts:   ~
    trusted_proxies: ~
    session:
        # handler_id set to null will use default session handler from php.ini
        handler_id:  ~
        save_path:   "%kernel.root_dir%/../var/sessions/%kernel.environment%"
    fragments:       ~
    http_method_override: true
    assets: ~

# Twig Configuration
twig:
    debug:            "%kernel.debug%"
    strict_variables: "%kernel.debug%"

# Doctrine Configuration
doctrine:
    dbal:
        connections:
          default:
              driver:   "%database_driver%"
              host:     "%database_host%"
              port:     "%database_port%"
              dbname:   "%database_name%"
              user:     "%database_user%"
              password: "%<PASSWORD>_password%"
              charset:  UTF8
              mapping_types:
                  enum: string
              schema_filter: ~^(?!t_)~
              # if using pdo_sqlite as your database driver:
              #   1. add the path in parameters.yml
              #     e.g. database_path: "%kernel.root_dir%/data/data.db3"
              #   2. Uncomment database_path in parameters.yml.dist
              #   3. Uncomment next line:
              #     path:     "%database_path%"
          immortalchess:
              driver:   "%app_immortalchess.database_driver%"
              host:     "%app_immortalchess.database_host%"
              port:     "%app_immortalchess.database_port%"
              dbname:   "%app_immortalchess.database_name%"
              user:     "%app_immortalchess.database_user%"
              password: "%<PASSWORD>%"
              charset:  UTF8
              mapping_types:
                  enum: string
    orm:
        default_entity_manager: default
        auto_generate_proxy_classes: "%kernel.debug%"
        entity_managers:
          default:
            naming_strategy: doctrine.orm.naming_strategy.underscore
            auto_mapping: true
          immortalchess:
              connection: immortalchess
              mappings:
                ImmortalchessNetBundle: ~

# Swiftmailer Configuration
swiftmailer:
    transport: "%mailer_transport%"
    host:      "%mailer_host%"
    username:  "%mailer_user%"
    password:  "%<PASSWORD>%"
    spool:     { type: memory }

fos_rest:
    routing_loader:
        default_format: json

nelmio_api_doc: ~

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      nested
            channels: [!ws]
        nested:
            type:  stream
            path:  "%kernel.logs_dir%/%kernel.environment%.log"
            level: debug
        ws:
            type: stream
            path: "%kernel.logs_dir%/ws.log"
            level: error
            channels: [ws]

services:
    twig.extension.intl:
        class: Twig_Extensions_Extension_Intl
        tags:
            - { name: twig.extension }
{'fraction_non_alphanumeric': 0.10036065166024126, 'fraction_numerical': 0.001492351697550056, 'mean_word_length': 1.8948884089272857, 'pattern_counts': {'":': 0, '<': 9, '<?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': '6678892', 'n_tokens_mistral': 2368, 'n_tokens_neox': 2299, 'n_words': 452}