rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Line exceeds 120 characters; contains 155 characters
Open

                return Yii::$app->authManager->checkAccess($this->operator->getGUID(), (new ManageMember)->name, ['organization' => $model->organization]);

Line exceeds 120 characters; contains 150 characters
Open

        $query = $this->hasMany($this->organizationSettingClass, [$this->getNoInitOrganizationSetting()->createdByAttribute => $this->guidAttribute]);
Severity: Minor
Found in Organization.php by phpcodesniffer

Line exceeds 120 characters; contains 147 characters
Open

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

Line exceeds 120 characters; contains 124 characters
Open

        return $this->createBaseOrganization($name, $parent, $nickname, $gravatar_type, $gravatar, $timezone, $description);
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 227 characters
Open

    'If you can not see the "Update" or "Remove Member" button, it means that the you do not have corresponding permission.' => '如果您看不到“更新”或“移除成员”按钮,则意味着您没有相应权限。',

Line exceeds 120 characters; contains 138 characters
Open

    'If you do not want users to join the department, please leave blank.' => '如果不想让用户主动加入本部门,请留空。',

Line exceeds 120 characters; contains 160 characters
Open

        $parentName = $this->organization->isDepartment() ? $this->organization->parent->profile->name . ' (' . $this->organization->parent->getID() . ')' : '';
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 132 characters
Open

                    [ // Disallow user who does not have `setUpOrganization` permission to access this `set-up-organization` action.

Line exceeds 120 characters; contains 121 characters
Open

     * The organization is null or new record, it will be considered as invalid. If so, the OrganizationNotFoundException

Line exceeds 120 characters; contains 125 characters
Open

            throw new RemovePreventedException(Yii::t('organization', 'Administrator can not remove other administrators.'));

Line exceeds 120 characters; contains 126 characters
Open

        <?= Html::submitButton(Yii::t('organization', 'Submit'), ['class' => 'btn btn-primary', 'name' => 'submit-button']) ?>

Line exceeds 120 characters; contains 153 characters
Open

            <p><?= Yii::t('organization', 'Would you like to join the ' . ($organization->isOrganization() ? 'organization' : 'department') . '?') ?></p>

Line exceeds 120 characters; contains 132 characters
Open

            <?php if (Yii::$app->authManager->checkAccess($user, (new ManageProfile)->name, ['organization' => $organization])) : ?>

Line exceeds 120 characters; contains 198 characters
Open

        <?= YII_ENV == YII_ENV_DEV ? Yii::t('organization', 'This is the {name} page. You may modify the following file to customize its content:', ['name' => Yii::t('organization', 'View')]) : ''?>

Line exceeds 120 characters; contains 128 characters
Open

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

Line exceeds 120 characters; contains 161 characters
Open

        return $this->hasMany(get_class($this->getNoInitMember()), [$this->getNoInitMember()->memberAttribute => $this->guidAttribute])->inverseOf('memberUser');
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 145 characters
Open

    'You do not have permission to manage the profile of this organization / department.' => '您没有权限管理此组织/部门的简介。',

Line exceeds 120 characters; contains 309 characters
Open

    '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.' => '如果您勾选“只接受上级成员”,则在加入本部门之前,先让用户尝试加入本部门所属上级组织。',

Line exceeds 120 characters; contains 154 characters
Open

    'After you enter the code and submit it, the generated URL will appear below.' => '输入代码并提交以后,生成的 URL 会展示在下方。',

Line exceeds 120 characters; contains 167 characters
Open

    'According to the organization\'s setting, you cannot withdraw from this organization proactively.' => '根据组织的设置,您不能主动退出本组织。',
Severity
Category
Status
Source
Language