e107inc/e107

View on GitHub
e107_handlers/notify_class.php

Summary

Maintainability
A
0 mins
Test Coverage
F
12%

Call to deprecated function \e_parse::text_truncate() defined at /code/e107_handlers/e_parse_class.php:1286
Open

        $this->send('newsupd', NT_LAN_NU_1.': '.$data['news_title'], e107::getParser()->text_truncate(e107::getParser()->toDB($message), 400, '...'));
Severity: Minor
Found in e107_handlers/notify_class.php by phan

Call to deprecated function \e_parse::text_truncate() defined at /code/e107_handlers/e_parse_class.php:1286
Open

        $this->send('newspost', $data['news_title'], e107::getParser()->text_truncate(e107::getParser()->toDB($message), 400, '...'));
Severity: Minor
Found in e107_handlers/notify_class.php by phan

Returning type array|bool but send() is declared to return void
Open

                return e107::callMethod($cls, $method, $evData);
Severity: Minor
Found in e107_handlers/notify_class.php by phan

Returning type false but send() is declared to return void
Open

            return false;
Severity: Minor
Found in e107_handlers/notify_class.php by phan

There are no issues that match your filters.

Category
Status