<commit_before><?php

class Denkmal_Form_EventAdd extends CM_Form_Abstract {

	public function setup () {
		$this->registerField(new Denkmal_FormField_Venue('venue'));
		$this->registerField(new CM_FormField_Text('venueAddress'));
		$this->registerField(new CM_FormField_Text('venueUrl'));

		$this->registerField(new CM_FormField_Date('date'));
		$this->registerField(new Denkmal_FormField_Time('fromTime'));
		$this->registerField(new Denkmal_FormField_Time('untilTime'));

		$this->registerField(new CM_FormField_Text('title'));
		$this->registerField(new CM_FormField_Text('artists'));
		$this->registerField(new CM_FormField_Text('genres'));
		$this->registerField(new CM_FormField_Text('urls'));

		$this->registerAction(new Denkmal_FormAction_EventAdd_Create());
	}

}<commit_msg>Set min/max year<commit_after><?php

class Denkmal_Form_EventAdd extends CM_Form_Abstract {

	public function setup () {
		$this->registerField(new Denkmal_FormField_Venue('venue'));
		$this->registerField(new CM_FormField_Text('venueAddress'));
		$this->registerField(new CM_FormField_Text('venueUrl'));

		$this->registerField(new CM_FormField_Date('date', date('Y'), (int) date('Y') + 1));
		$this->registerField(new Denkmal_FormField_Time('fromTime'));
		$this->registerField(new Denkmal_FormField_Time('untilTime'));

		$this->registerField(new CM_FormField_Text('title'));
		$this->registerField(new CM_FormField_Text('artists'));
		$this->registerField(new CM_FormField_Text('genres'));
		$this->registerField(new CM_FormField_Text('urls'));

		$this->registerAction(new Denkmal_FormAction_EventAdd_Create());
	}

}
{'fraction_non_alphanumeric': 0.15661901802361716, 'fraction_numerical': 0.0006215040397762585, 'mean_word_length': 9.125786163522013, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '5893910', 'n_tokens_mistral': 558, 'n_tokens_neox': 529, 'n_words': 66}