<commit_before>parameters:
    completion_case_sensitivity:       false
    completion_match_type:             'head_or_subsequence_of_last_part'
    logger_implementation:             '\Monolog\Logger'
    logger_parameters:                 []
    messenger:                         null

services:
    phpcd_factory:
        class:              \PHPCD\Factory

    default_logger:
        class:              Psr\Log\LoggerInterface
        factory:            ['@phpcd_factory', 'createLogger']
        arguments:
            - '%logger_implementation%'
            - '%logger_parameters%'

    default_pattern_matcher:
        class:              \PHPCD\PatternMatcher\PatternMatcher
        factory:             ['@phpcd_factory', 'createPatternMatcher']
        arguments:           ['%completion_match_type%', '%completion_case_sensitivity%']

    subsequence_pattern_matcher:
        class:              \PHPCD\PatternMatcher\SubsequencePatternMatcher
        arguments:           ['%completion_case_sensitivity%']
        autowiring_types:   \PHPCD\PatternMatcher\PatternMatcher

    head_pattern_matcher:
        class:              \PHPCD\PatternMatcher\HeadPatternMatcher
        arguments:           ['%completion_case_sensitivity%']
        autowiring_types:   \PHPCD\PatternMatcher\PatternMatcher

    messenger:
        class:              Lvht\MsgpackRpc\Messenger
        factory:            ['@phpcd_factory', 'createMessenger']
        arguments:          ['@io', '%messenger%']

    io:
        class:              Lvht\MsgpackRpc\StdIo
        autowiring_types:   Lvht\MsgpackRpc\Io

    file_info_factory:
        class:              \PHPCD\PHPFileInfo\PHPFileInfoFactory

    class_info_factory:
        class:              \PHPCD\ClassInfo\ClassInfoFactory

    docblock_factory:
        class:              \phpDocumentor\Reflection\DocBlockFactory
        factory:            ['phpDocumentor\Reflection\DocBlockFactory', 'createInstance']

    docblock:
        class:              PHPCD\DocBlock\DocBlock
        arguments:
            - '@docblock_factory'

    repository.constant.factory:
        class:              \PHPCD\ConstantInfo\ConstantInfoFactory

    repository.constant:
        class:              \PHPCD\ConstantInfo\RuntimeConstantInfoRepository
        arguments:          ['@default_pattern_matcher', '@repository.constant.factory']

    repository.constant.class:
        class:              \PHPCD\ConstantInfo\ReflectionClassConstantInfoRepository
        arguments:          ['@default_pattern_matcher', '@class_info_factory']

    method_info_repository:
        class:              \PHPCD\ObjectElementInfo\ReflectionMethodInfoRepository
        arguments:
            - '@default_pattern_matcher'
            - '@class_info_factory'
            - '@docblock'

    property_info_repository:
        class:              \PHPCD\ObjectElementInfo\ReflectionPropertyInfoRepository
        arguments:
            - '@default_pattern_matcher'
            - '@class_info_factory'
            - '@docblock'

    view:
        class:              \PHPCD\View\VimMenuItemView

    nsinfo:
        class:              \PHPCD\NamespaceInfo
        factory:            ['@phpcd_factory', 'createNamespaceInfo']
        arguments:
            - '%root%'

    function_factory:
        class: \PHPCD\FunctionInfo\FunctionInfoFactory

    function_repository:
        class: \PHPCD\FunctionInfo\RuntimeFunctionRepository
        arguments:
            - '@default_pattern_matcher'
            - '@function_factory'

    type.legacy:
        class:      \PHPCD\DocBlock\LegacyTypeLogic
        arguments:
            - '@default_logger'
            - '@file_info_factory'

    handler.phpcd:
        class:              \PHPCD\PHPCD
        arguments:
            - '@nsinfo'
            - '@default_logger'
            - '@repository.constant'
            - '@repository.constant.class'
            - '@property_info_repository'
            - '@method_info_repository'
            - '@file_info_factory'
            - '@view'
            - '@function_repository'
            - '@type.legacy'

    server.phpcd:
        class:              Lvht\MsgpackRpc\ForkServer
        arguments:          [ '@messenger', '@handler.phpcd' ]

    classes_repository:
        class:              \PHPCD\ClassInfo\ComposerClassmapFileRepository
        arguments:          ['%class_loader%', '@default_pattern_matcher', '@class_info_factory', '@file_info_factory', '@default_logger']

    handler.phpid:
        class:              \PHPCD\PHPID
        arguments:          ['%root%', '@default_logger', '@classes_repository']
        # calls:
        #     - [ index ]

    server.phpid:
        class:              Lvht\MsgpackRpc\ForkServer
        arguments:          [ '@messenger', '@handler.phpid' ]<commit_msg>fixup! Namespaces ClassInfo and ConstantInfo moved to Element<commit_after>parameters:
    completion_case_sensitivity:       false
    completion_match_type:             'head_or_subsequence_of_last_part'
    logger_implementation:             '\Monolog\Logger'
    logger_parameters:                 []
    messenger:                         null

services:
    phpcd_factory:
        class:              \PHPCD\Factory

    default_logger:
        class:              Psr\Log\LoggerInterface
        factory:            ['@phpcd_factory', 'createLogger']
        arguments:
            - '%logger_implementation%'
            - '%logger_parameters%'

    default_pattern_matcher:
        class:              \PHPCD\PatternMatcher\PatternMatcher
        factory:             ['@phpcd_factory', 'createPatternMatcher']
        arguments:           ['%completion_match_type%', '%completion_case_sensitivity%']

    subsequence_pattern_matcher:
        class:              \PHPCD\PatternMatcher\SubsequencePatternMatcher
        arguments:           ['%completion_case_sensitivity%']
        autowiring_types:   \PHPCD\PatternMatcher\PatternMatcher

    head_pattern_matcher:
        class:              \PHPCD\PatternMatcher\HeadPatternMatcher
        arguments:           ['%completion_case_sensitivity%']
        autowiring_types:   \PHPCD\PatternMatcher\PatternMatcher

    messenger:
        class:              Lvht\MsgpackRpc\Messenger
        factory:            ['@phpcd_factory', 'createMessenger']
        arguments:          ['@io', '%messenger%']

    io:
        class:              Lvht\MsgpackRpc\StdIo
        autowiring_types:   Lvht\MsgpackRpc\Io

    file_info_factory:
        class:              \PHPCD\PHPFileInfo\PHPFileInfoFactory

    class_info_factory:
        class:              \PHPCD\Element\ClassInfo\ClassInfoFactory

    docblock_factory:
        class:              \phpDocumentor\Reflection\DocBlockFactory
        factory:            ['phpDocumentor\Reflection\DocBlockFactory', 'createInstance']

    docblock:
        class:              PHPCD\DocBlock\DocBlock
        arguments:
            - '@docblock_factory'

    repository.constant.factory:
        class:              \PHPCD\Element\ConstantInfo\ConstantInfoFactory

    repository.constant:
        class:              \PHPCD\Element\ConstantInfo\RuntimeConstantInfoRepository
        arguments:          ['@default_pattern_matcher', '@repository.constant.factory']

    repository.constant.class:
        class:              \PHPCD\Element\ConstantInfo\ReflectionClassConstantInfoRepository
        arguments:          ['@default_pattern_matcher', '@class_info_factory']

    method_info_repository:
        class:              \PHPCD\Element\ObjectElementInfo\ReflectionMethodInfoRepository
        arguments:
            - '@default_pattern_matcher'
            - '@class_info_factory'
            - '@docblock'

    property_info_repository:
        class:              \PHPCD\Element\ObjectElementInfo\ReflectionPropertyInfoRepository
        arguments:
            - '@default_pattern_matcher'
            - '@class_info_factory'
            - '@docblock'

    view:
        class:              \PHPCD\View\VimMenuItemView

    nsinfo:
        class:              \PHPCD\NamespaceInfo
        factory:            ['@phpcd_factory', 'createNamespaceInfo']
        arguments:
            - '%root%'

    function_factory:
        class: \PHPCD\Element\FunctionInfo\FunctionInfoFactory

    function_repository:
        class: \PHPCD\Element\FunctionInfo\RuntimeFunctionRepository
        arguments:
            - '@default_pattern_matcher'
            - '@function_factory'

    type.legacy:
        class:      \PHPCD\DocBlock\LegacyTypeLogic
        arguments:
            - '@default_logger'
            - '@file_info_factory'

    handler.phpcd:
        class:              \PHPCD\PHPCD
        arguments:
            - '@nsinfo'
            - '@default_logger'
            - '@repository.constant'
            - '@repository.constant.class'
            - '@property_info_repository'
            - '@method_info_repository'
            - '@file_info_factory'
            - '@view'
            - '@function_repository'
            - '@type.legacy'

    server.phpcd:
        class:              Lvht\MsgpackRpc\ForkServer
        arguments:          [ '@messenger', '@handler.phpcd' ]

    classes_repository:
        class:              \PHPCD\Element\ClassInfo\ComposerClassmapFileRepository
        arguments:          ['%class_loader%', '@default_pattern_matcher', '@class_info_factory', '@file_info_factory', '@default_logger']

    handler.phpid:
        class:              \PHPCD\PHPID
        arguments:          ['%root%', '@default_logger', '@classes_repository']
        # calls:
        #     - [ index ]

    server.phpid:
        class:              Lvht\MsgpackRpc\ForkServer
        arguments:          [ '@messenger', '@handler.phpid' ]
{'fraction_non_alphanumeric': 0.0910204081632653, 'fraction_numerical': 0.0, 'mean_word_length': 1.8107255520504733, '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': '190064', 'n_tokens_mistral': 2645, 'n_tokens_neox': 2514, 'n_words': 359}