rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

There must be one blank line after the last USE statement; 0 found;
Open

use yii\bootstrap\ActiveForm;

Expected 1 space after FUNCTION keyword; 0 found
Open

            'value' => function($model, $widget) use ($member) {

There must be one blank line after the last USE statement; 0 found;
Open

use yii\helpers\Html;

There must be one blank line after the last USE statement; 0 found;
Open

use yii\widgets\Pjax;

There must be one blank line after the last USE statement; 0 found;
Open

use yii\widgets\Pjax;

Function closing brace must go on the next line following the body; found 1 blank lines before brace
Open

    }
Severity: Minor
Found in Organization.php by phpcodesniffer

There must be one blank line after the last USE statement; 0 found;
Open

use yii\helpers\Html;

There must be one blank line after the last USE statement; 0 found;
Open

use yii\web\View;

Property name "$_user" should not be prefixed with an underscore to indicate visibility
Open

    private $_user;
Severity: Minor
Found in forms/SetUpForm.php by phpcodesniffer

There must be one blank line after the last USE statement; 0 found;
Open

use yii\helpers\Html;

Space found before comma in function call
Open

            throw new OnlyAcceptCurrentOrgMemberException(Yii::t('organization' ,'This department is only accepted by members of the organization.'));
Severity: Minor
Found in Organization.php by phpcodesniffer

PHP keywords must be lowercase; expected "trait" but found "Trait"
Open

Trait OperatorTrait
Severity: Minor
Found in OperatorTrait.php by phpcodesniffer

There must be one blank line after the last USE statement; 0 found;
Open

use yii\bootstrap\Alert;

Property name "$_parent" should not be prefixed with an underscore to indicate visibility
Open

    private $_parent;
Severity: Minor
Found in forms/SetUpForm.php by phpcodesniffer

Method name "SettingsForm::setting_unique" is not in camel caps format
Open

    public function setting_unique($attribute, $params, $validator)
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Space found before comma in function call
Open

            $this->revokeAdminSuccessMessage = Yii::t('organization' ,'Administrator revoked.');

Expected 1 blank line at end of file; 2 found
Open

 */

Space found before comma in function call
Open

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

Space found before comma in function call
Open

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

Space found before comma in function call
Open

            $this->departmentSetUpSuccessMessage = Yii::t('organization' ,'Department Set Up.');
Severity
Category
Status
Source
Language