rhosocial/yii2-organization

View on GitHub
widgets/views/settings-form.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 221 characters
Open

                <li><?= Yii::t('organization', 'If you check "Exclude other members", members of other organizations (or their subordinate departments) can not join this organization and subordinate departments.') ?></li>

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 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 155 characters
Open

        <p><?= Yii::t('organization', 'In order to facilitate the user to join the organization / department, you can add the following conditions') ?></p>

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 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>

Expected 1 space after closing parenthesis; found 0
Open

            <?php if ($model->organization->isDepartment()): ?>

Expected 1 space after closing parenthesis; found 0
Open

            <?php if ($model->organization->isOrganization()): ?>

Expected 1 space after closing parenthesis; found 0
Open

<?php elseif ($model->scenario == SettingsForm::SCENARIO_DEPARTMENT): ?>

Expected 1 space after closing parenthesis; found 0
Open

                <?php if ($model->organization->topOrganization->isExcludeOtherMembers): ?>

Expected 1 space after closing parenthesis; found 0
Open

<?php if ($model->scenario == SettingsForm::SCENARIO_ORGANIZATION): ?>

There are no issues that match your filters.

Category
Status