YetiForceCompany/YetiForceCRM

View on GitHub
app/Fields/Email.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Call to method getUserModel from undeclared class \App\User (Did you mean class \Tests\App\User)
Open

        return \App\User::getUserModel($userId)->getDetail('email1');
Severity: Critical
Found in app/Fields/Email.php by phan

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param int $userId
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static function getUserMail($userId)
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get user mail.
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return \App\User::getUserModel($userId)->getDetail('email1');
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Fields/Email.php by phpcodesniffer

There are no issues that match your filters.

Category
Status