rhosocial/yii2-base-models

View on GitHub

Showing 293 of 293 total issues

Line indented incorrectly; expected 4 spaces, found 8
Open

        public bool $idPreassigned = false,
Severity: Minor
Found in traits/config/IDConfig.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public int $timeType = 0,

Expected 1 newline at end of file; 0 found
Open

}

Line indented incorrectly; expected 4 spaces, found 8
Open

        public ?string $guidAttribute = "guid"
Severity: Minor
Found in traits/config/GUIDConfig.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public string $idAttributePrefix = "",
Severity: Minor
Found in traits/config/IDConfig.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public string $ipTypeAttribute = 'ip_type',
Severity: Minor
Found in traits/config/IPConfig.php by phpcodesniffer

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

            case self::IP_ALL_ENABLED:
Severity: Minor
Found in traits/IPTrait.php by phpcodesniffer

Whitespace found at end of line
Open

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

Expected 1 newline at end of file; 0 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        if (!is_string($this->updatedAtAttribute) || empty ($this->updatedAtAttribute)) {
Severity: Minor
Found in traits/TimestampTrait.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public string $ipAttribute = 'ip',
Severity: Minor
Found in traits/config/IPConfig.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public ?string $expiredAfterAttribute = null,

Expected 1 newline at end of file; 0 found
Open

}

Expected 1 newline at end of file; 0 found
Open

}

Expected 1 newline at end of file; 0 found
Open

}

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

        $this->getOtherGuidRules());
Severity: Minor
Found in traits/UserRelationTrait.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public TimestampConfig $timestampConfig = new TimestampConfig(),

Expected 1 newline at end of file; 0 found
Open

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

Expected 1 newline at end of file; 0 found
Open

}

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in traits/GUIDTrait.php by phpcodesniffer
Severity
Category
Status
Source
Language