rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Line exceeds 120 characters; contains 165 characters
Open

            throw new OnlyAcceptSuperiorOrgMemberException(Yii::t('organization', 'This department only accepts members of the parent organization or department.'));
Severity: Minor
Found in Organization.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

                'action' => [$this->join ? 'join' : 'exit', 'entrance' => $this->model->organization->getJoinEntranceUrl()],

Line exceeds 120 characters; contains 146 characters
Open

            throw new Exception('Organization Class(' . $organizationClass . ') does not inherited from `\rhosocial\organization\Organization`.');

Line exceeds 120 characters; contains 131 characters
Open

                        'asc' => [$this->profileAlias . '.first_name' => SORT_ASC, $this->profileAlias . '.last_name' => SORT_ASC],
Severity: Minor
Found in MemberSearch.php by phpcodesniffer

Line exceeds 120 characters; contains 145 characters
Open

            <li><?= Yii::t('organization', 'When the User ID column is green, it indicates that the user is the current logged-in user.') ?></li>

Line exceeds 120 characters; contains 173 characters
Open

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

Line exceeds 120 characters; contains 172 characters
Open

            <li><?= Yii::t('organization', 'If you can not see the "Update" or "Remove Member" button, it means that the you do not have corresponding permission.') ?></li>

Line exceeds 120 characters; contains 145 characters
Open

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

Line exceeds 120 characters; contains 133 characters
Open

    'If no search criteria are specified, all members are displayed.' => '如果没有指定搜索条件,则显示全部成员。',

Line exceeds 120 characters; contains 170 characters
Open

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

Line exceeds 120 characters; contains 226 characters
Open

    'You can assign a unique code to the department, and we will generate a unique entrance URL based on this code.' => '您可以为本部门指定一个唯一的代码,我们会根据此代码生成唯一的入口 URL。',

Line exceeds 120 characters; contains 170 characters
Open

                <?= Html::a(Yii::t('organization', 'Set Up New Department'), ['set-up-department', 'parent' => $organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 126 characters
Open

    'If you do not restrict the IP address (segment), leave it blank.' => '如果不限制 IP 地址(段),请留空。',

Line exceeds 120 characters; contains 133 characters
Open

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

Line exceeds 120 characters; contains 124 characters
Open

                Yii::t('organization', 'That is to say, only the members of {name} are accepted.', ['name' => $parentName]),
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 125 characters
Open

        return $this->getOfMembers()->andWhere(['role' => [(new DepartmentCreator)->name, (new OrganizationCreator)->name]]);
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 172 characters
Open

                (empty($this->join_entrance_url) ? Yii::t('organization', 'No entrance URL is currently available.') : Html::a(Yii::t('organization', 'The entrance URL'), [
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

                $permission = ($model->isOrganization()) ? (new RevokeOrganization)->name : (new RevokeDepartment)->name;

Line exceeds 120 characters; contains 141 characters
Open

    public function setUpDepartment($name, $parent, $nickname = '', $gravatar_type = 0, $gravatar = '', $timezone = 'UTC', $description = '')
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 234 characters
Open

    'If you can not see the "Add" button, it means that the user is already a member of the current organization / department.' => '如果您看不到“添加”按钮,则表示此用户已经是当前组织/部门的成员了。',
Severity
Category
Status
Source
Language