<commit_before><?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "auto".
 *
 * @property integer $id
 * @property integer $idcat
 * @property string $name
 * @property string $photo
 * @property string $carnumber
 *
 * @property Autocat $idcat0
 * @property Drivers[] $drivers
 * @property Sifarish[] $sifarishes
 */
class Auto extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'auto';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['idcat', 'name', 'photo'], 'required'],
            [['idcat'], 'integer'],
            [['name', 'photo', 'carnumber'], 'string', 'max' => 45]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('yii', 'ID'),
            'idcat' => Yii::t('yii', 'Idcat'),
            'name' => Yii::t('yii', 'Name'),
            'photo' => Yii::t('yii', 'Photo'),
            'carnumber' => Yii::t('yii', 'Carnumber'),
        ];
    }

    /**
     * @return \yii\db\ActiveQuery
     */
    public function getIdcat0()
    {
        return $this->hasOne(Autocat::className(), ['id' => 'idcat']);
    }

    /**
     * @return \yii\db\ActiveQuery
     */
    public function getDrivers()
    {
        return $this->hasMany(Drivers::className(), ['car' => 'id']);
    }

    /**
     * @return \yii\db\ActiveQuery
     */
    public function getSifarishes()
    {
        return $this->hasMany(Sifarish::className(), ['car' => 'id']);
    }

    /**
     * @inheritdoc
     * @return AutoQuery the active query used by this AR class.
     */
    public static function find()
    {
        return new AutoQuery(get_called_class());
    }
}
<commit_msg>Auto modelinde deyishilik<commit_after><?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "auto".
 *
 * @property integer $id
 * @property integer $idcat
 * @property string $name
 * @property string $photo
 * @property string $carnumber
 *
 * @property Autocat $idcat0
 * @property Drivers[] $drivers
 * @property Sifarish[] $sifarishes
 */
class Auto extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'auto';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['idcat', 'name'], 'required'],
            [['idcat'], 'integer'],
            [['name', 'photo', 'carnumber'], 'string', 'max' => 45]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('yii', 'ID'),
            'idcat' => Yii::t('yii', 'Idcat'),
            'name' => Yii::t('yii', 'Name'),
            'photo' => Yii::t('yii', 'Photo'),
            'carnumber' => Yii::t('yii', 'Carnumber'),
        ];
    }

    /**
     * @return \yii\db\ActiveQuery
     */
    public function getIdcat0()
    {
        return $this->hasOne(Autocat::className(), ['id' => 'idcat']);
    }

    /**
     * @return \yii\db\ActiveQuery
     */
    public function getDrivers()
    {
        return $this->hasMany(Drivers::className(), ['car' => 'id']);
    }

    /**
     * @return \yii\db\ActiveQuery
     */
    public function getSifarishes()
    {
        return $this->hasMany(Sifarish::className(), ['car' => 'id']);
    }

    /**
     * @inheritdoc
     * @return AutoQuery the active query used by this AR class.
     */
    public static function find()
    {
        return new AutoQuery(get_called_class());
    }
}

{'fraction_non_alphanumeric': 0.178366566511882, 'fraction_numerical': 0.002185195301830101, 'mean_word_length': 2.0264462809917356, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '5593109', 'n_tokens_mistral': 1211, 'n_tokens_neox': 1188, 'n_words': 261}