<commit_before><?php

namespace Boilr\BoilrBundle\Form;

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

use Boilr\BoilrBundle\Entity\Address as MyAddress;

class SystemForm extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder->add('systemType', 'entity', array(
                                    'class'       => 'BoilrBundle:SystemType',
                                    'property'    => 'name',
                                    'empty_value' => ''))
                ->add('product', 'entity', array(
                                     'class'       => 'BoilrBundle:Product',
                                     'property'    => 'name',
                                     'empty_value' => ''))
                ->add('installDate', 'date', array(
                                     'required' => true,
                                     'format' => 'dd/MM/yyyy',
                                     'widget' => 'single_text'))
                ->add('lastManteinance', 'date', array(
                                     'format' => 'dd/MM/yyyy',
                                     'widget' => 'single_text'))
                ->add('code',  'text', array('required' => true))<commit_msg>corretto formato data<commit_after><?php

namespace Boilr\BoilrBundle\Form;

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

use Boilr\BoilrBundle\Entity\Address as MyAddress;

class SystemForm extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder->add('systemType', 'entity', array(
                                     'class'       => 'BoilrBundle:SystemType',
                                     'property'    => 'name',
                                     'empty_value' => ''))
                ->add('product', 'entity', array(
                                     'class'       => 'BoilrBundle:Product',
                                     'property'    => 'name',
                                     'empty_value' => ''))
                ->add('installDate', 'date', array(
                                     'required' => true,
                                     'format'   => 'dd/MM/yyyy',
                                     'widget'   => 'single_text'))
                ->add('lastManteinance', 'date', array(
                                     'format' => 'dd/MM/yyyy',
                                     'widget' => 'single_text'))
                ->add('code',  'text', array('required' => true))
{'fraction_non_alphanumeric': 0.12905689194348988, 'fraction_numerical': 0.0, 'mean_word_length': 1.158154859967051, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '350071', 'n_tokens_mistral': 658, 'n_tokens_neox': 625, 'n_words': 113}