<commit_before><?php

declare(strict_types=1);

namespace Symplify\CodingStandard\Tests\HttpKernel;

use Psr\Container\ContainerInterface;
use Symplify\CodingStandard\ValueObject\CodingStandardConfig;
use Symplify\ConsoleColorDiff\ValueObject\ConsoleColorDiffConfig;
use Symplify\EasyCodingStandard\ValueObject\EasyCodingStandardConfig;
use Symplify\SymplifyKernel\HttpKernel\AbstractSymplifyKernel;

final class SymplifyCodingStandardKernel extends AbstractSymplifyKernel
{
    public function createFromConfigs(array $configFiles): ContainerInterface
    {
        $configFiles[] = EasyCodingStandardConfig::FILE_PATH;
        $configFiles[] = ConsoleColorDiffConfig::FILE_PATH;
        $configFiles[] = CodingStandardConfig::FILE_PATH;

        return $this->create($configFiles, [], []);
    }
}<commit_msg>[SymplifyKernel] Allow empty compiler passes and extensions (#3903)<commit_after><?php

declare(strict_types=1);

namespace Symplify\CodingStandard\Tests\HttpKernel;

use Psr\Container\ContainerInterface;
use Symplify\CodingStandard\ValueObject\CodingStandardConfig;
use Symplify\ConsoleColorDiff\ValueObject\ConsoleColorDiffConfig;
use Symplify\EasyCodingStandard\ValueObject\EasyCodingStandardConfig;
use Symplify\SymplifyKernel\HttpKernel\AbstractSymplifyKernel;

final class SymplifyCodingStandardKernel extends AbstractSymplifyKernel
{
    public function createFromConfigs(array $configFiles): ContainerInterface
    {
        $configFiles[] = EasyCodingStandardConfig::FILE_PATH;
        $configFiles[] = ConsoleColorDiffConfig::FILE_PATH;
        $configFiles[] = CodingStandardConfig::FILE_PATH;

        return $this->create($configFiles);
    }
}
{'fraction_non_alphanumeric': 0.08812949640287769, 'fraction_numerical': 0.0035971223021582736, 'mean_word_length': 6.586363636363636, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5038247', 'n_tokens_mistral': 480, 'n_tokens_neox': 448, 'n_words': 71}