rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Expected 1 space after closing parenthesis; found 0
Open

<?php if ($tips): ?>

Expected 1 space after closing parenthesis; found 0
Open

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

No space found after comma in function call
Open

            $this->organizationSetUpSuccessMessage = Yii::t('organization' ,'Organization Set Up.');

Whitespace found at end of line
Open

     * 

Expected 1 space after closing parenthesis; found 9
Open

        if (!($organization instanceof $this->organizationClass))
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

No space found after comma in function call
Open

            $this->removeMemberSuccessMessage = Yii::t('organization' ,'Member Removed.');

Expected 1 space after ELSE keyword; 0 found
Open

<?php else: ?>

Expected 1 space after ELSE keyword; 0 found
Open

                    <?php else: ?>

Whitespace found at end of line
Open

     * @var Organization 

Whitespace found at end of line
Open

     * @var Profile 

No space found after comma in function call
Open

            $this->updateSuccessMessage = Yii::t('user' ,'Updated.');

Expected 1 space after closing parenthesis; found 0
Open

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

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in Organization.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

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

Expected 1 space after ELSE keyword; 0 found
Open

        <?php else: ?>

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

No space found after comma in function call
Open

            $this->guidAttribute => Yii::t('user','GUID'),
Severity: Minor
Found in OrganizationSetting.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

Expected 1 space after IF keyword; 0 found
Open

        if(!isset($this->timezone)) {
Severity: Minor
Found in forms/SetUpForm.php by phpcodesniffer
Severity
Category
Status
Source
Language