e107inc/e107

View on GitHub
e107_plugins/newsletter/e_mailout.php

Summary

Maintainability
A
0 mins
Test Coverage
F
5%

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

        $this->mail_count = 1;            // We have no idea of how many subscribers without reading all relevant DB records
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

Argument 3 (checked) is ' checked=\'checked\''|'' but \e_form::checkbox() takes bool|false defined at /code/e107_handlers/form_handler.php:2685
Open

                    $var[$c]['html'] = $frm->checkbox('nl_category_sel[]',$row['newsletter_id'] ,$checked);
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

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

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

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

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

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

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

Default value for string $selectVals can't be false
Open

    public function selectInit($selectVals = FALSE)
Severity: Minor
Found in e107_plugins/newsletter/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/newsletter/e_mailout.php by phan

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

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

Returning type false but selectInit() is declared to return int
Open

        if (!($sql->gen($qry))) return FALSE;
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

Default value for string $selectVals can't be false
Open

    public function showSelect($allow_edit = FALSE, $selectVals = FALSE)
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

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

            return false; // Return Nothing to avoid confusion.     
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

There are no issues that match your filters.

Category
Status