rhosocial/yii2-organization

View on GitHub
web/organization/views/join/index.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 144 characters
Open

            Yii::t('organization', 'You are already a member of the ' . ($organization->isOrganization() ? 'organization' : 'department') . '.')

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

            <?= $organization->isOrganization() ? Yii::t('organization', 'According to the organization\'s setting, you cannot withdraw from this organization proactively.') : Yii::t('organization', 'According to the department\'s setting, you cannot withdraw from this department proactively.') ?>

Expected 1 space after ELSE keyword; 0 found
Open

<?php else: ?>

Expected 1 space after ELSE keyword; 0 found
Open

        <?php else: ?>

Expected 1 space after closing parenthesis; found 0
Open

<?php if (Yii::$app->user->isGuest): ?>

Expected 1 space after ELSE keyword; 0 found
Open

    <?php else:

Expected 1 space after ELSE keyword; 0 found
Open

        <?php else: ?>

There are no issues that match your filters.

Category
Status