<commit_before><?php declare(strict_types=1);

namespace Symplify\PackageBuilder\DependencyInjection\CompilerPass;

use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symplify\PackageBuilder\DependencyInjection\DefinitionCollector;
use Symplify\PackageBuilder\DependencyInjection\DefinitionFinder;

final class ConfigurableCollectorCompilerPass implements CompilerPassInterface
{
    /**
     * @var DefinitionCollector
     */
    private $definitionCollector;

    /**
     * @var string[][]
     */
    private $commonCollectors = [
        # symfony/console
        [
            'main_type' => 'Symfony\Component\Console\Application',
            'collected_type' => 'Symfony\Component\Console\Command\Command',
            'add_method' => 'add',
        ],
        # symfony/event-subscriber
        [
            'main_type' => 'Symfony\Component\EventDispatcher\EventDispatcherInterface',
            'collected_type' => 'Symfony\Component\EventDispatcher\EventSubscriberInterface',
            'add_method' => 'addSubscriber',
        ],
        # symfony/console → symfony/event-subscribers
        [
            'main_type' => 'Symfony\Component\Console\Application',
            'collected_type' => 'Symfony\Component\EventDispatcher\EventDispatcherInterface',
            'add_method' => 'setDispatcher',
        ],
    ];

    /**
     * @var bool
     */
    private $enableCommonCollectors = false;
<commit_msg>typo [skip ci]<commit_after><?php declare(strict_types=1);

namespace Symplify\PackageBuilder\DependencyInjection\CompilerPass;

use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symplify\PackageBuilder\DependencyInjection\DefinitionCollector;
use Symplify\PackageBuilder\DependencyInjection\DefinitionFinder;

final class ConfigurableCollectorCompilerPass implements CompilerPassInterface
{
    /**
     * @var DefinitionCollector
     */
    private $definitionCollector;

    /**
     * @var string[][]
     */
    private $commonCollectors = [
        # symfony/console
        [
            'main_type' => 'Symfony\Component\Console\Application',
            'collected_type' => 'Symfony\Component\Console\Command\Command',
            'add_method' => 'add',
        ],
        # symfony/event-dispatcher
        [
            'main_type' => 'Symfony\Component\EventDispatcher\EventDispatcherInterface',
            'collected_type' => 'Symfony\Component\EventDispatcher\EventSubscriberInterface',
            'add_method' => 'addSubscriber',
        ],
        # symfony/console → symfony/event-dispatcher
        [
            'main_type' => 'Symfony\Component\Console\Application',
            'collected_type' => 'Symfony\Component\EventDispatcher\EventDispatcherInterface',
            'add_method' => 'setDispatcher',
        ],
    ];

    /**
     * @var bool
     */
    private $enableCommonCollectors = false;

{'fraction_non_alphanumeric': 0.11096433289299867, 'fraction_numerical': 0.0006605019815059445, 'mean_word_length': 3.0225763612217795, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '6127290', 'n_tokens_mistral': 816, 'n_tokens_neox': 797, 'n_words': 108}