<commit_before><?php namespace App\Models;

class UserProfile extends BaseModel
{
    /**
     * The character length of the 'about' field
     */
    const ABOUT_LENGTH = 120;

    /**
     * The primary key for the model.
     *
     * @var string
     */
    protected $primaryKey = 'user_id';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'phone',
        'mobile',
        'dob',
    ];

    /**
     * Model validation.
     *
     * @var array
     */
    protected $validationRules = [
        'phone' => 'string',
        'mobile' => 'string',
        'dob' => 'date',
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'dob' => 'date',
    ];
}<commit_msg>Adding missing updates to UserProfile model when additional fields were added: gender, about, facebook, twitter, pinterest, instagram, website.<commit_after><?php namespace App\Models;

class UserProfile extends BaseModel
{
    /**
     * The character length of the 'about' field
     */
    const ABOUT_LENGTH = 120;

    /**
     * The primary key for the model.
     *
     * @var string
     */
    protected $primaryKey = 'user_id';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'phone',
        'mobile',
        'dob',
        'gender',
        'about',
        'facebook',
        'twitter',
        'pinterest',
        'instagram',
        'website',
    ];

    /**
     * Model validation.
     *
     * @var array
     */
    protected $validationRules = [
        'phone' => 'string',
        'mobile' => 'string',
        'dob' => 'date',
        'gender' => 'in:M,F',
        'about' => 'string',
        'facebook' => 'string',
        'twitter' => 'string',
        'pinterest' => 'string',
        'instagram' => 'string',
        'website' => 'string',
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'dob' => 'date',
    ];
}
{'fraction_non_alphanumeric': 0.14444444444444443, 'fraction_numerical': 0.002777777777777778, 'mean_word_length': 1.6711990111248456, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, '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': '4414948', 'n_tokens_mistral': 663, 'n_tokens_neox': 634, 'n_words': 174}