e107inc/e107

View on GitHub
e107_plugins/user/e_mailout.php

Summary

Maintainability
A
0 mins
Test Coverage
F
2%

Reference to undeclared property \user_mailout->mail_read (Did you mean expr->mailRead)
Open

        $this->mail_read = 0;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Return type of select_close() is undeclared type \none
Open

    public function select_close()
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Reference to undeclared property \user_mailout->mail_read (Did you mean expr->mailRead)
Open

        $this->mail_read++;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Reference to undeclared property \user_mailout->mail_read (Did you mean expr->mailRead)
Open

            $this->mail_read = 0;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Argument 1 (userClassId) is int but \e_system_user::removeClass() takes null defined at /code/e107_handlers/user_model.php:1398
Open

            return e107::getSystemUser($uid)->removeClass($ucl); // best way to remove userclass from user.
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Reference to undeclared property \user_mailout->mail_count (Did you mean expr->mailCount)
Open

            return $this->mail_count;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Method \user_mailout::select_close is declared to return \none but has no return value
Open

    public function select_close()
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Returning type null but showSelect() is declared to return array
Open

                return null;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Argument 1 (message) is int but \e107_db_debug::log() takes array|string defined at /code/e107_handlers/db_debug_class.php:1116
Open

        e107::getDebug()->log($this->mailCount);
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Reference to undeclared property \user_mailout->mail_count (Did you mean expr->mailCount)
Open

            $this->mail_count = 0;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

There are no issues that match your filters.

Category
Status