<commit_before><?php
/**
 * Created by PhpStorm.
 * User: dolgikh
 * Date: 12.07.16
 * Time: 16:07
 */

namespace docflow\examples\users\controllers;

use docflow\behaviors\LinkOrderedBehavior;
use docflow\behaviors\LinkSimpleBehavior;
use docflow\examples\users\models\Users;
use docflow\examples\users\models\UsersTreeSearch;
use docflow\models\Document;
use docflow\widgets\FlTreeWidgetWithLeaf;
use docflow\widgets\FlTreeWidgetWithSimpleLinks;
use yii;
use yii\base\Action;
use yii\base\ErrorException;
use yii\base\InvalidConfigException;
use yii\base\InvalidParamException;
use yii\db\StaleObjectException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\web\Response;

class TestUsersController extends Controller
{
    public $defaultAction = 'view';

    /**
     * Перед действием
     *
     * @param Action $action - действие
     *
     * @return bool
     *<commit_msg>master/master<commit_after><?php
/**
 * Created by PhpStorm.
 * User: dolgikh
 * Date: 12.07.16
 * Time: 16:07
 */

namespace docflow\examples\users\controllers;

use docflow\behaviors\LinkOrderedBehavior;
use docflow\behaviors\LinkSimpleBehavior;
use docflow\examples\users\models\Users;
use docflow\examples\users\models\UsersTreeSearch;
use docflow\models\base\Document;
use docflow\widgets\FlTreeWidgetWithLeaf;
use docflow\widgets\FlTreeWidgetWithSimpleLinks;
use yii;
use yii\base\Action;
use yii\base\ErrorException;
use yii\base\InvalidConfigException;
use yii\base\InvalidParamException;
use yii\db\StaleObjectException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\web\Response;

class TestUsersController extends Controller
{
    public $defaultAction = 'view';

    /**
     * Перед действием
     *
     * @param Action $action - действие
     *
     * @return bool
     *
{'fraction_non_alphanumeric': 0.10479867622724766, 'fraction_numerical': 0.011031439602868174, 'mean_word_length': 4.4474474474474475, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4147139', 'n_tokens_mistral': 625, 'n_tokens_neox': 608, 'n_words': 118}