<commit_before>services:
    # Admin manager
    shuwee_admin.admin_manager:
        class: Wanjee\Shuwee\AdminBundle\Manager\AdminManager

    shuwee_admin.admin_abstract:
        class: Wanjee\Shuwee\AdminBundle\Admin\Admin
        abstract: true
        calls:
            - [ setContainer, [@service_container]]

    # Routing
    shuwee_admin.admin_routing_helper:
        class: Wanjee\Shuwee\AdminBundle\Routing\Helper\AdminRoutingHelper
        arguments: [@router]

    shuwee_admin.admin_routing_loader:
        class: Wanjee\Shuwee\AdminBundle\Routing\Loader\AdminLoader
        arguments: [@shuwee_admin.admin_manager]
        tags:
            - { name: routing.loader }

    # ParamConverter
    shuwee_admin.admin_param_converter:
        class: Wanjee\Shuwee\AdminBundle\Request\ParamConverter\AdminParamConverter
        arguments: [@shuwee_admin.admin_manager]
        tags:
            - { name: request.param_converter }

    # Twig
    shuwee_admin.admin_twig_extension:
        class: Wanjee\Shuwee\AdminBundle\Twig\AdminExtension
        arguments: [@shuwee_admin.admin_manager, @shuwee_admin.admin_routing_helper, @translator]
        public: false
        tags:
            - { name: twig.extension }

    shuwee_admin.datagrid_twig_extension:
        class: Wanjee\Shuwee\AdminBundle\Twig\DatagridExtension
        arguments: [@translator]
        public: false
        tags:
            - { name: twig.extension }

    # Datagrid
    shuwee_admin.datagrid_manager:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\DatagridManager

    # Datagrid types
    shuwee_admin.datagrid_type_boolean:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeBoolean
        tags:
            - { name: shuwee.datagrid_type , alias: boolean}

    shuwee_admin.datagrid_type_collection:
            class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeCollection
            tags:
                - { name: shuwee.datagrid_type , alias: collection}

    shuwee_admin.datagrid_type_date:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeDate
        tags:
            - { name: shuwee.datagrid_type , alias: date}

    shuwee_admin.datagrid_type_image:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeImage
        tags:
            - { name: shuwee.datagrid_type , alias: image}

    shuwee_admin.datagrid_type_text:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeText
        tags:
            - { name: shuwee.datagrid_type , alias: text}

    shuwee_admin.datagrid_type_link:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeLink
        tags:
            - { name: shuwee.datagrid_type , alias: link}


    # Security
    shuwee_admin.security.user_manager:
        class: Wanjee\Shuwee\AdminBundle\Security\UserManager
        arguments: [@security.encoder_factory, @doctrine.orm.entity_manager]

    shuwee_admin.security.content_voter:
        class:      Wanjee\Shuwee\AdminBundle\Security\Voter\ContentVoter
        arguments: [@shuwee_admin.admin_manager]
        public:     false
        tags:
           - { name: security.voter }

    # Form type extensions
    shuwee_admin.file_preview_type_extension:
        class: Wanjee\Shuwee\AdminBundle\Form\Extension\FilePreviewTypeExtension
        tags:
            - { name: form.type_extension, alias: file }

    shuwee_admin.help_extension:
        class: Wanjee\Shuwee\AdminBundle\Form\Extension\HelpExtension
        tags:
            - { name: form.type_extension, alias: form }

    shuwee_admin.markdown_extension:
        class: Wanjee\Shuwee\AdminBundle\Form\Extension\MarkdownTextareaExtension
        tags:
            - { name: form.type_extension, alias: textarea }

    shuwee_admin.group_extension:
            class: Wanjee\Shuwee\AdminBundle\Form\Extension\GroupExtension
            tags:
                - { name: form.type_extension, alias: form }


    # Events listeners
    shuwee_admin.admin_configure_menu_listener:
        class: Wanjee\Shuwee\AdminBundle\EventListener\ConfigureMenuContentListener
        arguments: [@shuwee_admin.admin_manager, @shuwee_admin.admin_routing_helper, @translator, @security.authorization_checker]
        tags:<commit_msg>Not quoting service names is deprecated<commit_after>services:
    # Admin manager
    shuwee_admin.admin_manager:
        class: Wanjee\Shuwee\AdminBundle\Manager\AdminManager

    shuwee_admin.admin_abstract:
        class: Wanjee\Shuwee\AdminBundle\Admin\Admin
        abstract: true
        calls:
            - [ setContainer, ['@service_container']]

    # Routing
    shuwee_admin.admin_routing_helper:
        class: Wanjee\Shuwee\AdminBundle\Routing\Helper\AdminRoutingHelper
        arguments: ['@router']

    shuwee_admin.admin_routing_loader:
        class: Wanjee\Shuwee\AdminBundle\Routing\Loader\AdminLoader
        arguments: ['@shuwee_admin.admin_manager']
        tags:
            - { name: routing.loader }

    # ParamConverter
    shuwee_admin.admin_param_converter:
        class: Wanjee\Shuwee\AdminBundle\Request\ParamConverter\AdminParamConverter
        arguments: ['@shuwee_admin.admin_manager']
        tags:
            - { name: request.param_converter }

    # Twig
    shuwee_admin.admin_twig_extension:
        class: Wanjee\Shuwee\AdminBundle\Twig\AdminExtension
        arguments: ['@shuwee_admin.admin_manager', '@shuwee_admin.admin_routing_helper', '@translator']
        public: false
        tags:
            - { name: twig.extension }

    shuwee_admin.datagrid_twig_extension:
        class: Wanjee\Shuwee\AdminBundle\Twig\DatagridExtension
        arguments: ['@translator']
        public: false
        tags:
            - { name: twig.extension }

    # Datagrid
    shuwee_admin.datagrid_manager:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\DatagridManager

    # Datagrid types
    shuwee_admin.datagrid_type_boolean:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeBoolean
        tags:
            - { name: shuwee.datagrid_type , alias: boolean}

    shuwee_admin.datagrid_type_collection:
            class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeCollection
            tags:
                - { name: shuwee.datagrid_type , alias: collection}

    shuwee_admin.datagrid_type_date:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeDate
        tags:
            - { name: shuwee.datagrid_type , alias: date}

    shuwee_admin.datagrid_type_image:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeImage
        tags:
            - { name: shuwee.datagrid_type , alias: image}

    shuwee_admin.datagrid_type_text:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeText
        tags:
            - { name: shuwee.datagrid_type , alias: text}

    shuwee_admin.datagrid_type_link:
        class: Wanjee\Shuwee\AdminBundle\Datagrid\Type\DatagridTypeLink
        tags:
            - { name: shuwee.datagrid_type , alias: link}


    # Security
    shuwee_admin.security.user_manager:
        class: Wanjee\Shuwee\AdminBundle\Security\UserManager
        arguments: ['@security.encoder_factory', '@doctrine.orm.entity_manager']

    shuwee_admin.security.content_voter:
        class:      Wanjee\Shuwee\AdminBundle\Security\Voter\ContentVoter
        arguments: ['@shuwee_admin.admin_manager']
        public:     false
        tags:
           - { name: security.voter }

    # Form type extensions
    shuwee_admin.file_preview_type_extension:
        class: Wanjee\Shuwee\AdminBundle\Form\Extension\FilePreviewTypeExtension
        tags:
            - { name: form.type_extension, alias: file }

    shuwee_admin.help_extension:
        class: Wanjee\Shuwee\AdminBundle\Form\Extension\HelpExtension
        tags:
            - { name: form.type_extension, alias: form }

    shuwee_admin.markdown_extension:
        class: Wanjee\Shuwee\AdminBundle\Form\Extension\MarkdownTextareaExtension
        tags:
            - { name: form.type_extension, alias: textarea }

    shuwee_admin.group_extension:
            class: Wanjee\Shuwee\AdminBundle\Form\Extension\GroupExtension
            tags:
                - { name: form.type_extension, alias: form }


    # Events listeners
    shuwee_admin.admin_configure_menu_listener:
        class: Wanjee\Shuwee\AdminBundle\EventListener\ConfigureMenuContentListener
        arguments: ['@shuwee_admin.admin_manager', '@shuwee_admin.admin_routing_helper', '@translator', '@security.authorization_checker']
        tags:
{'fraction_non_alphanumeric': 0.08625525946704067, 'fraction_numerical': 0.0, 'mean_word_length': 2.6756872852233675, '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': '5695878', 'n_tokens_mistral': 2865, 'n_tokens_neox': 2779, 'n_words': 358}