rhosocial/yii2-base-models

View on GitHub

Showing 293 of 293 total issues

Line indented incorrectly; expected 4 spaces, found 8
Open

        public IPConfig $IPConfig = new IPConfig(),

Closing brace must be on a line by itself
Open

    ) {}
Severity: Minor
Found in traits/config/IPConfig.php by phpcodesniffer

Whitespace found at end of line
Open

 * 

Expected 1 newline at end of file; 0 found
Open

}

Line indented incorrectly; expected 4 spaces, found 8
Open

        public int $idAttributeLength = 4,
Severity: Minor
Found in traits/config/IDConfig.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in traits/MessageQueryTrait.php by phpcodesniffer

Whitespace found at end of line
Open

 *     

Space before opening parenthesis of function call prohibited
Open

                        throw new IntegrityException
Severity: Minor
Found in traits/RegistrationTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * @var int 
Severity: Minor
Found in models/BaseMetaModel.php by phpcodesniffer

Space before opening parenthesis of function call prohibited
Open

            throw new InvalidConfigException

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

        $model->otherGuidAttribute => BaseUserModel::compositeGUIDs($user)])->one($database);
Severity: Minor
Found in traits/MutualQueryTrait.php by phpcodesniffer

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

                        ('Registration Error(s) Occurred: Associated Models Save Failed.', $model->getErrors());
Severity: Minor
Found in traits/RegistrationTrait.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 9
Open

        if (Yii::$app instanceof Application && !Yii::$app->user->isGuest)
Severity: Minor
Found in traits/UserTrait.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public int $idAttributeType = 0,
Severity: Minor
Found in traits/config/IDConfig.php by phpcodesniffer

Closing brace must be on a line by itself
Open

    ) {}
Severity: Minor
Found in traits/config/IDConfig.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in traits/config/IPConfig.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public ?string $createdAtAttribute = 'created_at',

Whitespace found at end of line
Open

 * 

Opening parenthesis of a multi-line function call must be the last content on the line
Open

            throw new InvalidConfigException

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

            ('$multiBlamesClass must be specified if you want to use multiple blameable features.');
Severity
Category
Status
Source
Language