rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Line exceeds 120 characters; contains 226 characters
Open

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

Line exceeds 120 characters; contains 148 characters
Open

                <?= Html::a(Yii::t('organization', 'Update Profile'), ['update', 'id' => $organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 136 characters
Open

        if (!($organization instanceof Organization) || ($organization->getIsNewRecord() && $organization = $organization->getGUID())) {
Severity: Minor
Found in MemberLimit.php by phpcodesniffer

Line exceeds 120 characters; contains 187 characters
Open

                throw new DisallowMemberJoinOtherException(Yii::t('organization', "An organization in which the user is located does not allow its members to join other organizations."));
Severity: Minor
Found in Organization.php by phpcodesniffer

Line exceeds 120 characters; contains 150 characters
Open

            throw new OnlyAcceptCurrentOrgMemberException(Yii::t('organization' ,'This department is only accepted by members of the organization.'));
Severity: Minor
Found in Organization.php by phpcodesniffer

Line exceeds 120 characters; contains 136 characters
Open

        if (!($organization instanceof Organization) || ($organization->getIsNewRecord() && $organization = $organization->getGUID())) {
Severity: Minor
Found in SubordinateLimit.php by phpcodesniffer

Line exceeds 120 characters; contains 126 characters
Open

        return $this->hasOne($this->memberUserClass, [$this->getNoInitMemberUser()->guidAttribute => $this->memberAttribute]);
Severity: Minor
Found in Member.php by phpcodesniffer

Line exceeds 120 characters; contains 155 characters
Open

    'If no search criteria are specified, all organizations and departments are displayed.' => '如果没有指定搜索条件,则显示全部组织。',

Line exceeds 120 characters; contains 131 characters
Open

    'Are you sure to add this user to the organization / department?' => '您确定要将此用户添加到该组织/部门吗?',

Line exceeds 120 characters; contains 122 characters
Open

    'This department is only accepted by members of the organization.' => '此部门只接受所在组织成员加入。',

Line exceeds 120 characters; contains 130 characters
Open

        if (!empty($organization->joinPassword) && (!$model->load(Yii::$app->request->post()) || !$model->validate('password'))) {

Line exceeds 120 characters; contains 121 characters
Open

        if (!Yii::$app->authManager->checkAccess($user->getGUID(), (new ManageMember)->name, ['organization' => $org])) {

Line exceeds 120 characters; contains 181 characters
Open

                    Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, '(' . $model->getUser()->lastSetUpOrganization->getID() . ') ' . $this->departmentSetUpSuccessMessage);

Line exceeds 120 characters; contains 173 characters
Open

            Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, '(' . $organization->profile->name . ' ' . $organization->getID() . ') ' . $this->updateFailedMessage);

Line exceeds 120 characters; contains 121 characters
Open

            $this->gridCaption = Yii::t('organization', "Here are all the organizations / departments you have joined:");

Line exceeds 120 characters; contains 199 characters
Open

    'gridCaption' => $organization->isOrganization() ? Yii::t('organization', 'All subordinates of the current organization:') : Yii::t('organization', 'All subordinates of the current department:'),

Line exceeds 120 characters; contains 283 characters
Open

                    <li><?= Yii::t('organization', 'The organization where this department affiliated to has checked the "Exclude other members", meaning that members who have joined other organizations (or their subordinate departments) can no longer join this department.') ?></li>

Line exceeds 120 characters; contains 127 characters
Open

                Yii::$app->session->setFlash(OrganizationController::SESSION_KEY_MESSAGE, $this->departmentSetUpFailedMessage);

Line exceeds 120 characters; contains 146 characters
Open

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

Line exceeds 120 characters; contains 130 characters
Open

        <?= Html::a(Yii::t('organization', 'Set Up New Organization'), ['set-up-organization'], ['class' => 'btn btn-primary']) ?>
Severity
Category
Status
Source
Language