<commit_before><?php

namespace Glavweb\CoreBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

/**
 * Class FormStaticControlRawType
 * @package GlavwebCoreBundle\Form\Type
 */
class FormStaticControlRawType extends AbstractType
{
    /**
     * {@inheritdoc}
     */
    public function setDefaultOptions(OptionsResolverInterface $resolver)
    {
        $resolver->setDefaults(array(
            'required' => false,
            'disabled' => true,
        ));
    }

    /**
     * {@inheritdoc}
     */
    public function getParent()
    {
        return 'text';
    }

    /**
     * {@inheritdoc}
     */
    public function getName()
    {
        return 'bs_static_raw';
    }
}<commit_msg>Compatibility FormStaticControlRaw with Symfony 3<commit_after><?php

namespace Glavweb\CoreBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
 * Class FormStaticControlRawType
 * @package GlavwebCoreBundle\Form\Type
 */
class FormStaticControlRawType extends AbstractType
{
    /**
     * {@inheritdoc}
     */
    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'required' => false,
            'disabled' => true,
        ));
    }

    /**
     * {@inheritdoc}
     */
    public function getBlockPrefix()
    {
        return 'bs_static_raw';
    }
}
{'fraction_non_alphanumeric': 0.11604095563139932, 'fraction_numerical': 0.0006825938566552901, 'mean_word_length': 2.655860349127182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '806755', 'n_tokens_mistral': 426, 'n_tokens_neox': 422, 'n_words': 72}