rhosocial/yii2-base-models

View on GitHub
traits/UserTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

Scope keyword "static" must be followed by a single space
Open

    public static function isValid(mixed $user): false|static
Severity: Minor
Found in traits/UserTrait.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

There are no issues that match your filters.

Category
Status