e107inc/e107

View on GitHub
e107_plugins/faqs/faqs_shortcodes.php

Summary

Maintainability
A
0 mins
Test Coverage
D
63%

Argument #1 of this call to \str_replace is typically a literal or constant but isn't, but argument #3 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order.
Open

                $text .= str_replace(array_keys($srp), array_values($srp), LAN_FAQS_014);
Severity: Minor
Found in e107_plugins/faqs/faqs_shortcodes.php by phan

Argument 4 (options) is 'full' but \e107::url() takes array defined at /code/e107_handlers/e107_class.php:4225
Open

            $url        = e107::url('faqs','item', $this->var, 'full');
Severity: Minor
Found in e107_plugins/faqs/faqs_shortcodes.php by phan

Argument 4 (options) is 'full' but \e107::url() takes array defined at /code/e107_handlers/e107_class.php:4225
Open

        $url        = e107::url('faqs','item', $this->var, 'full');
Severity: Minor
Found in e107_plugins/faqs/faqs_shortcodes.php by phan

Argument 3 (default) is 3 but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

        $new = e107::pref('faqs','new',3);
Severity: Minor
Found in e107_plugins/faqs/faqs_shortcodes.php by phan

There are no issues that match your filters.

Category
Status