e107inc/e107

View on GitHub
e107_handlers/pop_bounce_handler.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Suspicious array access to false
Open

            $override['mail_bounce_user'] = $pref['mail_bounce_user'];
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Argument 1 (stream_id) is string but \imap_headers() takes resource
Open

        $headers=imap_headers($this->mailResource);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Assigning \e107MailManager to property but \pop3BounceHandler->mailManager is false
Open

                    $this->mailManager = new e107MailManager();
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Argument 1 (stream_id) is string but \imap_close() takes resource
Open

        imap_close($this->mailResource,CL_EXPUNGE);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Argument 1 (stream_id) is string but \imap_fetchstructure() takes resource
Open

            $structure = imap_fetchstructure($stream, $msg_number);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Argument 1 (stream_id) is string but \imap_fetchbody() takes resource
Open

                $text = imap_fetchbody($stream, $msg_number, $part_number);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Call to method markBounce on non-class type false
Open

                $this->mailManager->markBounce($e107Header, $emailAddress);
Severity: Critical
Found in e107_handlers/pop_bounce_handler.php by phan

Argument 1 (stream_id) is string but \imap_header() takes resource
Open

        $mail_header=imap_header($this->mailResource,$mid);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Assigning false|resource to property but \pop3BounceHandler->mailResource is string
Open

        $this->mailResource=imap_open($this->server,$this->username,$this->password);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Argument 1 (stream_id) is string but \imap_delete() takes resource
Open

        imap_delete($this->mailResource,$mid);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

Reference to undeclared constant \CL_EXPUNGE
Open

        imap_close($this->mailResource,CL_EXPUNGE);
Severity: Minor
Found in e107_handlers/pop_bounce_handler.php by phan

There are no issues that match your filters.

Category
Status