<commit_before><?php

namespace HomoDemocraticoSapiens\ComplaintManagerBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class CommitteeType extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        if($options['data']->getId() != null):
          $builder
              ->add('name', 'text', array('read_only'=>true))
              ->add('description', 'textarea')
          ;
        else:
          $builder
              ->add('name')
              ->add('description', 'textarea')
          ;
        endif;
    }
}
<commit_msg>modified form label for Committee entity<commit_after><?php

namespace HomoDemocraticoSapiens\ComplaintManagerBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class CommitteeType extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        if($options['data']->getId() != null):
          $builder
              ->add('name', 'text', array('label' => 'Nom de la commission', 'read_only' => true))
              ->add('description', 'textarea')
          ;
        else:
          $builder
              ->add('name', 'text', array('label' => 'Nom de la commission'))
              ->add('description', 'textarea')
          ;
        endif;
    }
}

{'fraction_non_alphanumeric': 0.1383601756954612, 'fraction_numerical': 0.0, 'mean_word_length': 2.4783715012722647, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '5397753', 'n_tokens_mistral': 379, 'n_tokens_neox': 370, 'n_words': 79}