vistart/yii2-models

View on GitHub

Showing 197 of 197 total issues

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in traits/UserTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * The status of mutual relation will be changed to normal if it is not. 
Severity: Minor
Found in traits/UserRelationTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * If you want to know whether the returned model is new model, please check 
Severity: Minor
Found in traits/UserTrait.php by phpcodesniffer

Whitespace found at end of line
Open

 * 

Whitespace found at end of line
Open

     * If you want to get ancestor model, you can simplify instance a query and specify the 

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in traits/BlameableTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * @var string 
Severity: Minor
Found in traits/MetaTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * @param string $start 
Severity: Minor
Found in traits/EntityQueryTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in traits/EntityTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * @return 
Severity: Minor
Found in traits/MutualQueryTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * 

Expected 1 space after ELSE keyword; newline found
Open

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

Whitespace found at end of line
Open

     * @var string cache component id. 
Severity: Minor
Found in traits/EntityTrait.php by phpcodesniffer

There must be a comment when fall-through is intentional in a non-empty case body
Open

            case static::$ipAll:
Severity: Minor
Found in traits/IPTrait.php by phpcodesniffer

Expected 1 space after ELSE keyword; newline found
Open

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

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in traits/NotificationTrait.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in traits/BlameableTrait.php by phpcodesniffer

Usage of ELSE IF is discouraged; use ELSEIF instead
Open

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

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in traits/BlameableTrait.php by phpcodesniffer

There must be a comment when fall-through is intentional in a non-empty case body
Open

            case static::$ipv6:
Severity: Minor
Found in traits/IPTrait.php by phpcodesniffer
Severity
Category
Status
Source
Language