<commit_before><?php

/*
 * This file is part of the Incipio package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace App\Form\Project;

use App\Entity\Project\Av;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
use Symfony\Component\Form\Extension\Core\Type\IntegerType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

class AvType extends DocTypeType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('numero', IntegerType::class, [
                'label' => 'Numéro de l\'avenant',
                'required' => true,
            ])
            ->add('differentielDelai', IntegerType::class, [
            'label' => 'Modification du Délai (+/- x jours)',
            'required' => true,
            ])
            ->add('objet', TextareaType::class, [
                'label' => 'Exposer les causes de l’Avenant',
                'required' => true,
                'attr' => ['data-help' => 'Ne pas hésiter à détailler l\'historique des relations avec le client 
            et du travail sur l\'étude qui ont conduit à l\'Avenant',
                ],
            ])
            ->add('clauses', ChoiceType::class, [
                'label' => 'Type d\'avenant',
                'multiple' => true,
                'choices' => Av::CLAUSES_CHOICES,
            ]);
        // ->add('phases', CollectionType::class, [
        //     'entry_type' => PhaseType::class,
        //     'entry_options' => ['isAvenant' => true],
        //     'allow_add' => true,
        //     'allow_delete' => true,
        //     'prototype' => true,
        //     'by_reference' => false,
        // ]);
        /*->add('avenantsMissions', 'collection', array(
            'type' => new AvMissionType,
            'allow_add' => true,
            'allow_delete' => true,
            'prototype' => true,
            'by_reference' => false,
        ))*/
<commit_msg>delete comments<commit_after><?php

/*
 * This file is part of the Incipio package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace App\Form\Project;

use App\Entity\Project\Av;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
use Symfony\Component\Form\Extension\Core\Type\IntegerType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

class AvType extends DocTypeType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('numero', IntegerType::class, [
                'label' => 'Numéro de l\'avenant',
                'required' => true,
            ])
            ->add('differentielDelai', IntegerType::class, [
            'label' => 'Modification du Délai (+/- x jours)',
            'required' => true,
            ])
            ->add('objet', TextareaType::class, [
                'label' => 'Exposer les causes de l’Avenant',
                'required' => true,
                'attr' => ['data-help' => 'Ne pas hésiter à détailler l\'historique des relations avec le client
            et du travail sur l\'étude qui ont conduit à l\'Avenant',
                ],
            ])
            ->add('clauses', ChoiceType::class, [
                'label' => 'Type d\'avenant',
                'multiple' => true,
                'choices' => Av::CLAUSES_CHOICES,
            ]);

{'fraction_non_alphanumeric': 0.13460056511687646, 'fraction_numerical': 0.0, 'mean_word_length': 2.1327433628318584, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 49, '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': '3280222', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1091, 'n_words': 264}