rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Expected 1 space after ELSE keyword; 0 found
Open

        <?php else: ?>

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 (Yii::$app->user->isGuest): ?>

Expected 1 space after ELSE keyword; 0 found
Open

        <?php else: ?>

Whitespace found at end of line
Open

     * 

Expected 1 space after closing parenthesis; found 0
Open

<?php if ($user->isOrganizationAdministrator($organization) || $user->isOrganizationCreator($organization)): ?>

Whitespace found at end of line
Open

     * @var Organization 

Expected 1 space after closing parenthesis; found 0
Open

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

Expected 1 space after closing parenthesis; found 0
Open

                    <?php if ($model->isCreator()): ?>

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in Organization.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in Organization.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * @var Profile 

Expected 1 space after closing parenthesis; found 0
Open

            <?php if (is_array($tips)): ?>

A closing tag is not permitted at the end of a PHP file
Open

<?php Modal::end() ?>

Whitespace found at end of line
Open

 * 
Severity: Minor
Found in Member.php by phpcodesniffer

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                $organization->type == Organization::TYPE_ORGANIZATION ? (new RevokeOrganization)->name : (new RevokeDepartment)->name,
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                ['organization' => $organization])) {
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity
Category
Status
Source
Language