rhosocial/yii2-organization

View on GitHub
widgets/views/set-up-button.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 178 characters
Open

                    <p><?= Yii::t('organization', 'There {remaining,plural,=0{is no places} =1{is only one place} other{are # places}} left.', ['remaining' => $remaining]) ?></p>

Line exceeds 120 characters; contains 160 characters
Open

                <p><?= Yii::t('organization', 'You can open up to {limit,plural,=1{only one organization} other{# organizations}}.', ['limit' => $limit]) ?></p>

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 ELSE keyword; 0 found
Open

                <?php else: ?>

Expected 1 space after closing parenthesis; found 0
Open

            <?php if ($remaining === false): ?>

Expected 1 space after closing parenthesis; found 0
Open

                <?php if ($remaining < 0): ?>

There are no issues that match your filters.

Category
Status