<commit_before><?php

/**
 * @copyright Copyright &copy; communityii, 2014
 * @package yii2-user
 * @version 1.0.0
 * @see https://github.com/communityii/yii2-user
 */

namespace communityii\user\models;

use Yii;
use yii\base\NotSupportedException;
use yii\base\InvalidConfigException;
use yii\db\ActiveRecord;
use yii\helpers\Security;
use communityii\user\components\IdentityInterface;

/**
 * This is the model class for table "adm_user".
 *
 * @property string $id
 * @property string $username
 * @property string $email
 * @property string $password
 * @property string $role
 * @property string $auth_key
 * @property string $activation_key
 * @property string $reset_key
 * @property integer $status
 * @property string $created_on
 * @property string $last_login_on
 * @property string $password_raw write-only password
 *
 * @property RemoteIdentity[] $remoteIdentities
 * @property UserProfile $userProfile
 */
class User extends ActiveRecord implements IdentityInterface
{
	const STATUS_INACTIVE = 0;
	const STATUS_ACTIVE = 1;
	const STATUS_NEW = 0;
	const STATUS_BANNED = 3;

	private $_statuses = [];
	private $_module;<commit_msg>User Status Changes<commit_after><?php

/**
 * @copyright Copyright &copy; communityii, 2014
 * @package yii2-user
 * @version 1.0.0
 * @see https://github.com/communityii/yii2-user
 */

namespace communityii\user\models;

use Yii;
use yii\base\NotSupportedException;
use yii\base\InvalidConfigException;
use yii\db\ActiveRecord;
use yii\helpers\Security;
use communityii\user\components\IdentityInterface;

/**
 * This is the model class for table "adm_user".
 *
 * @property string $id
 * @property string $username
 * @property string $email
 * @property string $password
 * @property string $role
 * @property string $auth_key
 * @property string $activation_key
 * @property string $reset_key
 * @property integer $status
 * @property string $created_on
 * @property string $last_login_on
 * @property string $password_raw write-only password
 *
 * @property RemoteIdentity[] $remoteIdentities
 * @property UserProfile $userProfile
 */
class User extends ActiveRecord implements IdentityInterface
{
	const STATUS_NEW = 0;
	const STATUS_ACTIVE = 1;
	const STATUS_BANNED = 2;
	const STATUS_INACTIVE = 3;

	private $_statuses = [];
	private $_module;
{'fraction_non_alphanumeric': 0.10704960835509138, 'fraction_numerical': 0.011314186248912098, 'mean_word_length': 4.910025706940874, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1418294', 'n_tokens_mistral': 719, 'n_tokens_neox': 697, 'n_words': 201}