<commit_before><?php

/**
 *  _   __ __ _____ _____ ___  ____  _____
 * | | / // // ___//_  _//   ||  __||_   _|
 * | |/ // /(__  )  / / / /| || |     | |
 * |___//_//____/  /_/ /_/ |_||_|     |_|
 * @link https://vistart.me/
 * @copyright Copyright (c) 2016 - 2017 vistart
 * @license https://vistart.me/license/
 */

namespace rhosocial\user\tests\rbac;

use rhosocial\user\tests\data\User;
use rhosocial\user\tests\data\Profile;
use rhosocial\user\tests\TestCase;
use rhosocial\user\rbac\Assignment;
use rhosocial\user\rbac\permissions\CreateAdminUser;
use rhosocial\user\rbac\permissions\CreateUser;
use rhosocial\user\rbac\permissions\DeleteAdminUser;
use rhosocial\user\rbac\permissions\DeleteMyself;
use rhosocial\user\rbac\permissions\DeleteUser;
use rhosocial\user\rbac\permissions\UpdateAdminUser;
use rhosocial\user\rbac\permissions\UpdateMyself;
use rhosocial\user\rbac\permissions\UpdateUser;
use rhosocial\user\rbac\roles\Admin as AdminRole;
use rhosocial\user\rbac\roles\User as UserRole;
use Yii;
use yii\rbac\Role;

/**
 * @version 1.0
 * @author vistart <<EMAIL>>
 */
class UserTest extends TestCase
{
    /**
     * @var User<commit_msg>switch to user our own `Role`.<commit_after><?php

/**
 *  _   __ __ _____ _____ ___  ____  _____
 * | | / // // ___//_  _//   ||  __||_   _|
 * | |/ // /(__  )  / / / /| || |     | |
 * |___//_//____/  /_/ /_/ |_||_|     |_|
 * @link https://vistart.me/
 * @copyright Copyright (c) 2016 - 2017 vistart
 * @license https://vistart.me/license/
 */

namespace rhosocial\user\tests\rbac;

use rhosocial\user\tests\data\User;
use rhosocial\user\tests\data\Profile;
use rhosocial\user\tests\TestCase;
use rhosocial\user\rbac\Assignment;
use rhosocial\user\rbac\permissions\CreateAdminUser;
use rhosocial\user\rbac\permissions\CreateUser;
use rhosocial\user\rbac\permissions\DeleteAdminUser;
use rhosocial\user\rbac\permissions\DeleteMyself;
use rhosocial\user\rbac\permissions\DeleteUser;
use rhosocial\user\rbac\permissions\UpdateAdminUser;
use rhosocial\user\rbac\permissions\UpdateMyself;
use rhosocial\user\rbac\permissions\UpdateUser;
use rhosocial\user\rbac\Role;
use rhosocial\user\rbac\roles\Admin as AdminRole;
use rhosocial\user\rbac\roles\User as UserRole;
use Yii;

/**
 * @version 1.0
 * @author vistart <<EMAIL>>
 */
class UserTest extends TestCase
{
    /**
     * @var User
{'fraction_non_alphanumeric': 0.15555555555555556, 'fraction_numerical': 0.008547008547008548, 'mean_word_length': 3.450570342205323, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '3914738', 'n_tokens_mistral': 919, 'n_tokens_neox': 859, 'n_words': 124}