<commit_before><?php
class Vpc_Advanced_GoogleMap_Form extends Vps_Auto_Vpc_Form
{
    public function __construct($name, $class, $id = null)
    {
        parent::__construct($name, $class, $id);

        $this->setLabelWidth(120);
        $this->fields->add(new Vps_Auto_Field_GoogleMapsField('coordinates', trlVps('Coordinates')));
        $this->fields->add(new Vps_Auto_Field_Select('zoom', trlVps('Zoomlevel')))
            ->setAllowBlank(false)
            ->setValues($this->_getZoomLevels())
            ->setWidth(120);

        $this->fields->add(new Vps_Auto_Field_NumberField('width', trlVps('Width')))
            ->setAllowNegative(false)
            ->setAllowDecimals(false)
            ->setAllowBlank(false)
            ->setWidth(120);

        $this->fields->add(new Vps_Auto_Field_NumberField('height', trlVps('Height')))
            ->setAllowNegative(false)
            ->setAllowDecimals(false)
            ->setAllowBlank(false)
            ->setWidth(120);

        $classes = Vpc_Abstract::getSetting($class, 'childComponentClasses');
        $textId = $id . '-text';
        $form = new Vpc_Basic_Text_Form($classes['text'], $textId);<commit_msg>bugfix<commit_after><?php
class Vpc_Advanced_GoogleMap_Form extends Vps_Auto_Vpc_Form
{
    public function __construct($name, $class, $id = null)
    {
        parent::__construct($name, $class, $id);

        $this->setLabelWidth(120);
        $this->fields->add(new Vps_Auto_Field_GoogleMapsField('coordinates', trlVps('Coordinates')));
        $this->fields->add(new Vps_Auto_Field_Select('zoom', trlVps('Zoomlevel')))
            ->setAllowBlank(false)
            ->setValues($this->_getZoomLevels())
            ->setWidth(120);

        $this->fields->add(new Vps_Auto_Field_NumberField('width', trlVps('Width')))
            ->setAllowNegative(false)
            ->setAllowDecimals(false)
            ->setAllowBlank(false)
            ->setWidth(120);

        $this->fields->add(new Vps_Auto_Field_NumberField('height', trlVps('Height')))
            ->setAllowNegative(false)
            ->setAllowDecimals(false)
            ->setAllowBlank(false)
            ->setWidth(120);

        $classes = Vpc_Abstract::getSetting($class, 'childComponentClasses');
        $form = new Vpc_Basic_Text_Form('text', $classes['text']);
        $form->setComponentIdTemplate('{0}-text');
{'fraction_non_alphanumeric': 0.15325994919559696, 'fraction_numerical': 0.010584250635055038, 'mean_word_length': 3.053173241852487, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 46, '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': '4914876', 'n_tokens_mistral': 764, 'n_tokens_neox': 729, 'n_words': 93}