<commit_before>Feature: Using variadic in behat context
    In order to make behat contexts cleaner and more readable
    As a Behat developer
    I want to have a variadic support in Behat context

    Background:
        Given a context file "features/bootstrap/FeatureContext.php" containing:
        """
        <?php
        use Behat\Behat\Context\Context;
        class FeatureContext implements Context
        {
            /** @When I use a step with :two :arguments */
            public function iUseAStepWith(...$variadic)
            {
                echo sprintf('%d arguments were passed to this step', count($variadic));
            }
        }
        """

    Scenario: Enabled variadic support
        Given a Behat configuration containing:
        """
        default:
            extensions:
                FriendsOfBehat\VariadicExtension: ~
        """
        And a feature file "features/enabled_variadic_support.feature" containing:
        """
        Feature: Enabled variadic support feature
            Scenario: Enabled variadic support scenario
                When I use a step with two arguments
        """
        When I run Behat
        Then it should pass with "2 arguments were passed to this step"<commit_msg>Add scenario for turned of extension<commit_after>Feature: Using variadic in behat context
    In order to make behat contexts cleaner and more readable
    As a Behat developer
    I want to have a variadic support in Behat context

    Background:
        Given a context file "features/bootstrap/FeatureContext.php" containing:
        """
        <?php
        use Behat\Behat\Context\Context;
        class FeatureContext implements Context
        {
            /** @When I use a step with :two :arguments */
            public function iUseAStepWith(...$variadic)
            {
                echo sprintf('Number of passed arguments: %d', count($variadic));
            }
        }
        """

    Scenario: Enabled variadic support
        Given a Behat configuration containing:
        """
        default:
            extensions:
                FriendsOfBehat\VariadicExtension: ~
        """
        And a feature file "features/enabled_variadic_support.feature" containing:
        """
        Feature: Enabled variadic support feature
            Scenario: Enabled variadic support scenario
                When I use a step with two arguments
        """
        When I run Behat
        Then it should pass with "Number of passed arguments: 2"
{'fraction_non_alphanumeric': 0.06356773937226858, 'fraction_numerical': 0.0007945967421533572, 'mean_word_length': 1.9347319347319347, 'pattern_counts': {'":': 0, '<': 5, '<?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': '364060', 'n_tokens_mistral': 619, 'n_tokens_neox': 587, 'n_words': 232}