<commit_before>services:
    # array(    );
    PhpCsFixer\Fixer\ArrayNotation\ArraySyntaxFixer:
        syntax: short

    # new methods
    PhpCsFixer\Fixer\Alias\RandomApiMigrationFixer:
        mt_rand: random_int
        rand: random_int

    # ?? operator
    PhpCsFixer\Fixer\Operator\TernaryToNullCoalescingFixer: ~

    # strict types
    PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer: ~
    Symplify\CodingStandard\Fixer\Strict\BlankLineAfterStrictTypesFixer: ~
    PhpCsFixer\Fixer\LanguageConstruct\DeclareEqualNormalizeFixer: ~

    # typehints
    PhpCsFixer\Fixer\FunctionNotation\ReturnTypeDeclarationFixer: ~
    SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff:
        enableEachParameterAndReturnInspection: true
        enableVoidTypeHint: false
        enableNullableTypeHints: false

    # throwable
    SlevomatCodingStandard\Sniffs\Exceptions\ReferenceThrowableOnlySniff: ~

parameters:
    # disable any annotation removal
    skip:
        SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff.UselessDocComment: ~<commit_msg>[ECS] php70: set remove paramters sections, as not merged and could not be unforced<commit_after>services:
    # array(    );
    PhpCsFixer\Fixer\ArrayNotation\ArraySyntaxFixer:
        syntax: short

    # new methods
    PhpCsFixer\Fixer\Alias\RandomApiMigrationFixer:
        mt_rand: random_int
        rand: random_int

    # ?? operator
    PhpCsFixer\Fixer\Operator\TernaryToNullCoalescingFixer: ~

    # strict types
    PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer: ~
    Symplify\CodingStandard\Fixer\Strict\BlankLineAfterStrictTypesFixer: ~
    PhpCsFixer\Fixer\LanguageConstruct\DeclareEqualNormalizeFixer: ~

    # typehints
    PhpCsFixer\Fixer\FunctionNotation\ReturnTypeDeclarationFixer: ~
    SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff:
        enableEachParameterAndReturnInspection: true
        enableVoidTypeHint: false
        enableNullableTypeHints: false

    # throwable
    SlevomatCodingStandard\Sniffs\Exceptions\ReferenceThrowableOnlySniff: ~
{'fraction_non_alphanumeric': 0.06778846153846153, 'fraction_numerical': 0.0009615384615384616, 'mean_word_length': 3.978468899521531, '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': '664808', 'n_tokens_mistral': 690, 'n_tokens_neox': 660, 'n_words': 80}