<commit_before><?php
/*
 * 20140724
 * <EMAIL>
 */
namespace app\models;

//use Yii;
use common\models\Xml as CXml;
class Xml extends CXml{
    public function rules() {
        return [
            [['name'], 'file', 'extensions' =>'xml'],
            [['user_id', 'scene_id', 'status','xml_type_id'], 'integer'],
            [['name', 'path'], 'string', 'max' => 255]
        ];
    }
}<commit_msg>fixed name to requred.<commit_after><?php
/*
 * 20140724
 * <EMAIL>
 */
namespace app\models;

//use Yii;
use common\models\Xml as CXml;
class Xml extends CXml{
    public function rules() {
        return [
            [['name'], 'required'],
            [['name'], 'file', 'extensions' =>'xml'],
            [['user_id', 'scene_id', 'status','xml_type_id'], 'integer'],
            [['name', 'path'], 'string', 'max' => 255]
        ];
    }
}
{'fraction_non_alphanumeric': 0.20946745562130178, 'fraction_numerical': 0.02603550295857988, 'mean_word_length': 2.4814814814814814, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1310000', 'n_tokens_mistral': 300, 'n_tokens_neox': 280, 'n_words': 69}