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

framework:
    #esi:             ~
    translator:      { fallback: %locale% }
    secret:          %secret%
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
        strict_requirements: ~
    form:            ~
    csrf_protection: ~
    validation:      { enable_annotations: true }
    templating:
        engines: ['twig']
        #assets_version: SomeVersionScheme
    default_locale:  "%locale%"
    trusted_proxies: ~
    session:
      name: WorldHealtOrganizationSentinelNetwork
      save_path: /tmp/nedco
    fragments:       ~
    http_method_override: true

# Twig Configuration
twig:
    debug:            %kernel.debug%
    strict_variables: %kernel.debug%
    form:
      resources:
        - 'NSTemplatesBundle:Form:fields.html.twig'
        - 'NSUtilBundle:Form:fields.html.twig'

# Assetic Configuration
assetic:
    debug:          %kernel.debug%
    use_controller: false
    bundles:        [ ]
    #java: /usr/bin/java
    filters:
        cssrewrite: ~
        #closure:
        #    jar: %kernel.root_dir%/Resources/java/compiler.jar
        #yui_css:
        #    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: %database_password%
        charset:  UTF8
        # if using pdo_sqlite as your database driver, add the path in parameters.yml
        # e.g. database_path: %kernel.root_dir%/data/data.db3
        # path:     %database_path%
        types:
            TripleChoice: NS\SentinelBundle\Entity\Type\TripleChoice
            Doses: NS\SentinelBundle\Entity\Type\Doses
            Diagnosis: NS\SentinelBundle\Entity\Type\Diagnosis
            CXRResult: NS\SentinelBundle\Entity\Type\CXRResult
            DischargeOutcome: NS\SentinelBundle\Entity\Type\DischargeOutcome
            CSFAppearance: NS\SentinelBundle\Entity\Type\CSFAppearance
            Role: NS\SentinelBundle\Entity\Type\Role
        mapping_types:
            TripleChoice: TripleChoice
            Doses: Doses
            Diagnosis: Diagnosis
            CXRResult: CXRResult
            DischargeOutcome: DischargeOutcome
            CSFAppearance: CSFAppearance
            Role: Role
    orm:
        auto_generate_proxy_classes: %kernel.debug%
        auto_mapping: true
        mappings:
          loggable:
            type: annotation
            alias: Gedmo
            prefix: Gedmo\Loggable\Entity
            dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Entity"

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

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

        #sonata.admin_doctrine_orm.block.audit:
        #    contexts:   [admin]

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

        # Some specific block from the SonataMediaBundle
        #sonata.media.block.media:
        #sonata.media.block.gallery:
        #sonata.media.block.feature_media:

knp_menu:
    twig:  # use "twig: false" to disable the Twig extension and the TwigRenderer
        template: NSSentinelBundle:Menu:menu.html.twig
    templating: false # if true, enables the helper for PHP templates
    default_renderer: twig # The renderer to use, list is also available by default

sonata_admin:
    title:      NUVI Sentinel Network Administration
#    title_logo: /bundles/nobletsolutionsnedco/images/logo.png

sonata_doctrine_orm_admin:
  templates:
    form:
      - NSUtilBundle:Form:SonataDoctrineORM/form_admin_fields.html.twig

jms_translation:
  configs:
    sentinel:
      output_dir: %kernel.root_dir%/../src/NS/SentinelBundle/Resources/translations        
      dirs: [ "%kernel.root_dir%/../src/NS/SentinelBundle" ]
      excluded_names: [ "*TestCase.php", "*Test.php" ]
      excluded_dirs: [ cache, data, logs ]
      output_format: xliff<commit_msg>configure the locales<commit_after>imports:
    - { resource: parameters.yml }
    - { resource: security.yml }

framework:
    #esi:             ~
    translator:      { fallback: %locale% }
    secret:          %secret%
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
        strict_requirements: ~
    form:            ~
    csrf_protection: ~
    validation:      { enable_annotations: true }
    templating:
        engines: ['twig']
        #assets_version: SomeVersionScheme
    default_locale:  "%locale%"
    trusted_proxies: ~
    session:
      name: WorldHealtOrganizationSentinelNetwork
      save_path: /tmp/nedco
    fragments:       ~
    http_method_override: true

# Twig Configuration
twig:
    debug:            %kernel.debug%
    strict_variables: %kernel.debug%
    form:
      resources:
        - 'NSTemplatesBundle:Form:fields.html.twig'
        - 'NSUtilBundle:Form:fields.html.twig'

# Assetic Configuration
assetic:
    debug:          %kernel.debug%
    use_controller: false
    bundles:        [ ]
    #java: /usr/bin/java
    filters:
        cssrewrite: ~
        #closure:
        #    jar: %kernel.root_dir%/Resources/java/compiler.jar
        #yui_css:
        #    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
        # if using pdo_sqlite as your database driver, add the path in parameters.yml
        # e.g. database_path: %kernel.root_dir%/data/data.db3
        # path:     %database_path%
        types:
            TripleChoice: NS\SentinelBundle\Entity\Type\TripleChoice
            Doses: NS\SentinelBundle\Entity\Type\Doses
            Diagnosis: NS\SentinelBundle\Entity\Type\Diagnosis
            CXRResult: NS\SentinelBundle\Entity\Type\CXRResult
            DischargeOutcome: NS\SentinelBundle\Entity\Type\DischargeOutcome
            CSFAppearance: NS\SentinelBundle\Entity\Type\CSFAppearance
            Role: NS\SentinelBundle\Entity\Type\Role
        mapping_types:
            TripleChoice: TripleChoice
            Doses: Doses
            Diagnosis: Diagnosis
            CXRResult: CXRResult
            DischargeOutcome: DischargeOutcome
            CSFAppearance: CSFAppearance
            Role: Role
    orm:
        auto_generate_proxy_classes: %kernel.debug%
        auto_mapping: true
        mappings:
          loggable:
            type: annotation
            alias: Gedmo
            prefix: Gedmo\Loggable\Entity
            dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Entity"

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

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

        #sonata.admin_doctrine_orm.block.audit:
        #    contexts:   [admin]

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

        # Some specific block from the SonataMediaBundle
        #sonata.media.block.media:
        #sonata.media.block.gallery:
        #sonata.media.block.feature_media:

knp_menu:
    twig:  # use "twig: false" to disable the Twig extension and the TwigRenderer
        template: NSSentinelBundle:Menu:menu.html.twig
    templating: false # if true, enables the helper for PHP templates
    default_renderer: twig # The renderer to use, list is also available by default

sonata_admin:
    title:      NUVI Sentinel Network Administration
#    title_logo: /bundles/nobletsolutionsnedco/images/logo.png

sonata_doctrine_orm_admin:
  templates:
    form:
      - NSUtilBundle:Form:SonataDoctrineORM/form_admin_fields.html.twig

jms_translation:
  locales: [ en, es, pt, fr, hi ]
  configs:
    sentinel:
      output_dir: %kernel.root_dir%/../src/NS/SentinelBundle/Resources/translations        
      dirs: [ "%kernel.root_dir%/../src/NS/SentinelBundle" ]
      excluded_names: [ "*TestCase.php", "*Test.php" ]
      excluded_dirs: [ cache, data, logs ]
      output_format: xliff
{'fraction_non_alphanumeric': 0.09319782884859684, 'fraction_numerical': 0.0011548677676406051, 'mean_word_length': 2.284034888130451, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6234451', 'n_tokens_mistral': 2754, 'n_tokens_neox': 2700, 'n_words': 499}