<commit_before><?php

declare(strict_types=1);

namespace Overblog\GraphQLBundle\CacheWarmer;

use Overblog\GraphQLBundle\Generator\TypeGenerator;
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;

class CompileCacheWarmer implements CacheWarmerInterface
{
    private $typeGenerator;

    private $compiled;

    /**
     * CompileCacheWarmer constructor.
     *
     * @param TypeGenerator $typeGenerator
     * @param bool          $compiled
     */
    public function __construct(TypeGenerator $typeGenerator, $compiled = true)
    {
        $this->typeGenerator = $typeGenerator;
        $this->compiled = $compiled;
    }

    /**
     * {@inheritdoc}
     */
    public function isOptional(): bool<commit_msg>Remove BC<commit_after><?php

declare(strict_types=1);

namespace Overblog\GraphQLBundle\CacheWarmer;

use Overblog\GraphQLBundle\Generator\TypeGenerator;
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;

class CompileCacheWarmer implements CacheWarmerInterface
{
    private $typeGenerator;

    private $compiled;

    /**
     * CompileCacheWarmer constructor.
     *
     * @param TypeGenerator $typeGenerator
     * @param bool          $compiled
     */
    public function __construct(TypeGenerator $typeGenerator, $compiled = true)
    {
        $this->typeGenerator = $typeGenerator;
        $this->compiled = $compiled;
    }

    /**
     * {@inheritdoc}
     */
    public function isOptional()
{'fraction_non_alphanumeric': 0.09807956104252401, 'fraction_numerical': 0.0013717421124828531, 'mean_word_length': 3.3293768545994067, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3001508', 'n_tokens_mistral': 419, 'n_tokens_neox': 402, 'n_words': 77}