<commit_before><?php

namespace Cacic\CommonBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;

/**
 *
 *
 * @author lightbase
 *
 */
class SoType extends AbstractType
{

    public function buildForm( FormBuilderInterface $builder, array $options )
    {
        $builder->add(
            'teDescSo',
            null,
            array( 'label'=>'Descrição' )
        );
        $builder->add(
            'sgSo',
            null,
            array( 'label'=>'Sigla' )
        );
        $builder->add(
            'teSo',
            null,
            array( 'label'=>'Id Interna' )
        );
        $builder->add(
            'idSo',
            null,
            array( 'label'=>'Id Externa',
                    'read_only' =>true
            )
        );
        $builder->add('inMswindows', 'choice',
                array(
                    'choices'=>array('S' => 'Sim',
                                    'N' => 'Não'
                    ),
                    'expanded'  => true,
                    'multiple'  => false,
                    'label'=>'Sistema Operacional MS-Windows'
                    )
        );
    }

    /**
     * (non-PHPdoc)
     * @see Symfony\Component\Form.FormTypeInterface::getName()
     */
    public function getName()
    {
        return 'So';
    }
<commit_msg>Traz de volta códigos que tinham sumido no Merge<commit_after><?php

namespace Cacic\CommonBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;

/**
 *
 *
 * @author lightbase
 *
 */
class SoType extends AbstractType
{

    public function buildForm( FormBuilderInterface $builder, array $options )
    {
        $builder->add(
            'teDescSo',
            null,
            array( 'label'=>'Descrição' )
        );
        $builder->add(
            'sgSo',
            null,
            array( 'label'=>'Sigla' )
        );
        $builder->add(
            'teSo',
            null,
            array( 'label'=>'Id Interna' )
        );
        $builder->add(
            'idSo',
            null,
            array( 'label'=>'Id Externa',
                    'read_only' =>true
            )
        );
        $builder->add('inMswindows', 'choice',
                array(
                    'choices'=>array('S' => 'Sim',
                                    'N' => 'Não'
                    ),
                    'expanded'  => true,
                    'multiple'  => false,
                    'label'=>'Sistema Operacional MS-Windows'
                    )
        );
        $builder->add(
            'tipo',
            'entity',
            array(
                'label' => 'Tipo de Sistema Operacional',
                'class' => 'CacicCommonBundle:TipoSo',
                'property' => 'tipo'
            )
        );
    }

    /**
     * (non-PHPdoc)
     * @see Symfony\Component\Form.FormTypeInterface::getName()
     */
    public function getName()
    {
        return 'So';
    }

{'fraction_non_alphanumeric': 0.13484251968503938, 'fraction_numerical': 0.0, 'mean_word_length': 1.238619676945668, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4142355', 'n_tokens_mistral': 867, 'n_tokens_neox': 851, 'n_words': 153}