rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Line exceeds 120 characters; contains 129 characters
Open

                Yii::t('organization', 'After you enter the code and submit it, the generated URL will appear below.') . "<br>" .
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

                return Url::to(['update-member', 'user' => $model->memberUser->getID(), 'org' => $model->organization->getID()]);

Line exceeds 120 characters; contains 229 characters
Open

                    <li><?= Yii::t('organization', 'If you check "Only accept superior members", let the user try to join the superior department where this department affiliated to first before joining this department.') ?></li>

Line exceeds 120 characters; contains 138 characters
Open

        <?= Html::a(Yii::t('organization', 'Member List'), ['member', 'org' => $organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 138 characters
Open

        <?= Html::a(Yii::t('organization', 'Member List'), ['member', 'org' => $organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 121 characters
Open

        Yii::$app->session->setFlash(OrganizationController::SESSION_KEY_RESULT, OrganizationController::RESULT_SUCCESS);

Line exceeds 120 characters; contains 134 characters
Open

        Yii::$app->session->setFlash(OrganizationController::SESSION_KEY_MESSAGE, "($id) " . $this->organizationRevokeSuccessMessage);

Line exceeds 120 characters; contains 126 characters
Open

        parent::__construct(Yii::t('organization', "The number of organizations has reached the maximum."), $code, $previous);

Line exceeds 120 characters; contains 129 characters
Open

                    echo "The new upper limit is " . ($remaining + (int)$user->getCreatorsAtOrganizationsOnly()->count()) . "\n";

Line exceeds 120 characters; contains 153 characters
Open

        return $this->hasMany($this->organizationClass, [$this->guidAttribute => $this->getNoInitMember()->createdByAttribute])->via('ofAdministrators');
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 143 characters
Open

        return $this->hasOne($this->organizationLimitClass, [$this->getNoInitOrganizationLimit()->createdByAttribute => $this->guidAttribute]);
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 176 characters
Open

    'When the User ID column is green, it indicates that the user is the current logged-in user.' => '用户账户一栏为绿色时,表示此用户为当前登录用户。',

Line exceeds 120 characters; contains 346 characters
Open

    'If you can not see the "Set Up New Department" button, it means that the current login user does not have permission to set up a new department, or the number of departments has reached the maximum.' => '如果您看不到“开设新部门”按钮,则表示当前登录用户没有权限开设新部门,或部门数量已达上限。',

Line exceeds 120 characters; contains 182 characters
Open

    'An organization in which the user is located does not allow its members to join other organizations.' => '该用户所在的某个组织不允许其成员加入其它组织。',

Line exceeds 120 characters; contains 231 characters
Open

    'This organization does not allow the organization and its subordinates\' members to join other organizations or their subordinates.' => '此组织不允许组织及其下属部门成员加入其它组织或其下属部门。',

Line exceeds 120 characters; contains 154 characters
Open

        'organization' => $organization->profile->name . (empty($organization->profile->nickname) ? '' : (' (' . $organization->profile->nickname . ')')),

Line exceeds 120 characters; contains 124 characters
Open

            Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, '(' . $id . ') ' . $this->removeMemberSuccessMessage);

Line exceeds 120 characters; contains 160 characters
Open

                <p><?= Yii::t('organization', 'You can open up to {limit,plural,=1{only one organization} other{# organizations}}.', ['limit' => $limit]) ?></p>

Line exceeds 120 characters; contains 155 characters
Open

        Yii::t('organization', 'If you can not see the "Add" button, it means that the user is already a member of the current organization / department.')

Line exceeds 120 characters; contains 173 characters
Open

            <?php if (Yii::$app->authManager->checkAccess($user, (new ManageMember)->name, ['organization' => $organization]) && !$organization->hasReachedMemberLimit()) :?>
Severity
Category
Status
Source
Language