<commit_before>imports:
    - { resource: parameters.yml }
    - { resource: security.yml }

framework:
    #esi:             ~
    translator:      { fallback: en }
    secret:          "%secret%"
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
        strict_requirements: "%kernel.debug%"
    form:            true
    csrf_protection: true
    validation:      { enable_annotations: true }
    templating:      
      engines: ['twig']
      assets_version: 20130705
      assets_base_urls:
        http: ["/SkNd/web"]
    default_locale:  "%locale%"
    trust_proxy_headers: false # Deprecated in 2.0; will be removed in 2.3 (used trusted_proxies instead)
    trusted_proxies: ~
    session:         ~

# Twig Configuration
twig:
    debug:            "%kernel.debug%"
    strict_variables: "%kernel.debug%"
    form:
      resources: ['SkNdUserBundle:Form:fields.html.twig']

# Assetic Configuration
assetic:
    debug:          "%kernel.debug%"
    use_controller: false
    bundles:        [ ]
    java:           "C:/Program Files/Java/jre7/bin/java.exe" 
    #write_to:       "%kernel.root_dir%/Resources/assets/"
    #read_from:      "%kernel.root_dir%/Resources/assets/"
    filters:
      scss: ~
      cssrewrite: ~
      yui_css:
          jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
      yui_js:
          jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"

# Doctrine Configuration
doctrine:
    dbal:
        driver:   "%database_driver%"
        host:     "%database_host%"
        port:     "%database_port%"
        dbname:   "%database_name%"
        user:     "%database_user%"
        password: "%<PASSWORD>%"
        charset:  UTF8
        types:
          json: Sonata\Doctrine\Types\JsonType

    orm:
        auto_generate_proxy_classes: %kernel.debug%
        #auto_mapping: true
        default_entity_manager:   default
        entity_managers:
            default:
                connection:       default
                mappings:
                    FOSUserBundle: ~
                    ApplicationSonataUserBundle: ~
                    SonataUserBundle: ~
                    SkNdUserBundle: ~
                    SkNdMediaBundle: ~
                    
                    
#        mappings:
#          sluggable: ~
#          timestampable: ~

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

sonata_cache:
    caches:
        apc:
            token:  <PASSWORD>   # token used to clear the related cache
            prefix: sknd_apc     # prefix to ensure there is no clash between instances
            servers:
                - { domain: localhost, ip: 127.0.0.1, port: 80}

sonata_block:
    default_contexts: [cms]
    blocks:
        sonata.admin.block.admin_list:
            contexts:   [admin]

        sonata.block.service.text:
        sonata.block.service.rss:

sonata_user:
  class:
    user: SkNd\UserBundle\Entity\User
  security_acl: true
  manager_type: orm 
  profile:
    form:
      type: fos_user_profile
      handler: fos_user.profile.form.handler.default
      name: fos_user_profile_form
      validation_groups: [Profile]
     

fos_user:
  db_driver: orm
  firewall_name: main
  user_class: SkNd\UserBundle\Entity\User
  #user_class: Application\Sonata\UserBundle\Entity\User
        
  registration:
    form:<commit_msg>Revert "removed unnecessary bits of config.yml"<commit_after>imports:
    - { resource: parameters.yml }
    - { resource: security.yml }

framework:
    #esi:             ~
    translator:      { fallback: en }
    secret:          "%secret%"
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
        strict_requirements: "%kernel.debug%"
    form:            true
    csrf_protection: true
    validation:      { enable_annotations: true }
    templating:      
      engines: ['twig']
      #assets_version: SomeVersionScheme
      assets_base_urls:
        http: ["/SkNd/web"]
    default_locale:  "%locale%"
    trust_proxy_headers: false # Deprecated in 2.0; will be removed in 2.3 (used trusted_proxies instead)
    trusted_proxies: ~
    session:         ~

# Twig Configuration
twig:
    debug:            "%kernel.debug%"
    strict_variables: "%kernel.debug%"
    form:
      resources: ['SkNdUserBundle:Form:fields.html.twig']

# Assetic Configuration
assetic:
    debug:          "%kernel.debug%"
    use_controller: false
    bundles:        [ ]
    java:           "C:/Program Files/Java/jre7/bin/java.exe" 
    #write_to:       "%kernel.root_dir%/Resources/assets/"
    #read_from:      "%kernel.root_dir%/Resources/assets/"
    filters:
      scss: ~
      cssrewrite: ~
      yui_css:
          jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
      yui_js:
          jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"

# Doctrine Configuration
doctrine:
    dbal:
        driver:   "%database_driver%"
        host:     "%database_host%"
        port:     "%database_port%"
        dbname:   "%database_name%"
        user:     "%database_user%"
        password: "%<PASSWORD>%"
        charset:  UTF8
        types:
          json: Sonata\Doctrine\Types\JsonType

    orm:
        auto_generate_proxy_classes: %kernel.debug%
        #auto_mapping: true
        default_entity_manager:   default
        entity_managers:
            default:
                connection:       default
                mappings:
                    FOSUserBundle: ~
                    ApplicationSonataUserBundle: ~
                    SonataUserBundle: ~
                    SkNdUserBundle: ~
                    SkNdMediaBundle: ~
                    
                    
#        mappings:
#          sluggable: ~
#          timestampable: ~

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

sonata_cache:
    caches:
#        esi:
#            token: ~
#            servers:
#                - varnishadm -T 127.0.0.1:2000 {{ COMMAND }} "{{ EXPRESSION }}"
#        ssi:
#            token: ~
        apc:
            token:  <PASSWORD>   # token used to clear the related cache
            prefix: sknd_apc     # prefix to ensure there is no clash between instances
            servers:
                - { domain: localhost, ip: 127.0.0.1, port: 80}

sonata_block:
    default_contexts: [cms]
    blocks:
        sonata.admin.block.admin_list:
            contexts:   [admin]

        sonata.block.service.text:
        sonata.block.service.rss:

sonata_user:
  class:
    user: SkNd\UserBundle\Entity\User
  security_acl: true
  manager_type: orm 
#  profile:
#    form:
#      type: sonata_user_profile
#      handler: sonata.user.profile.form.handler.default
#      name: sonata_user_profile_form
#      validation_groups: [Profile]
  profile:
    form:
      type: fos_user_profile
      handler: fos_user.profile.form.handler.default
      name: fos_user_profile_form
      validation_groups: [Profile]
     

fos_user:
  db_driver: orm
  firewall_name: main
  user_class: SkNd\UserBundle\Entity\User
  #user_class: Application\Sonata\UserBundle\Entity\User
        
  registration:
    form:
{'fraction_non_alphanumeric': 0.10305139186295503, 'fraction_numerical': 0.007762312633832976, 'mean_word_length': 1.9375, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '1317635', 'n_tokens_mistral': 2410, 'n_tokens_neox': 2328, 'n_words': 440}