e107inc/e107

View on GitHub
e107_plugins/social/e_shortcode.php

Summary

Maintainability
A
0 mins
Test Coverage
B
81%

Call to undeclared method \e_shortcode::sc_signup_xup_login
Open

        $text .= $sc->sc_signup_xup_login($parm);
Severity: Critical
Found in e107_plugins/social/e_shortcode.php by phan

Comment declares @param $data multiple times
Open

    public function getShareUrl($type, $urlScheme, $data=array(), $options=array())
Severity: Info
Found in e107_plugins/social/e_shortcode.php by phan

Default value for string $data can't be array{}
Open

    public function getShareUrl($type, $urlScheme, $data=array(), $options=array())
Severity: Minor
Found in e107_plugins/social/e_shortcode.php by phan

Argument 2 (fname) is false but \e107::lan() takes string defined at /code/e107_handlers/e107_class.php:3987
Open

e107::lan('social',false, true);
Severity: Minor
Found in e107_plugins/social/e_shortcode.php by phan

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

        $hashtags = e107::pref('social','sharing_hashtags','');
Severity: Minor
Found in e107_plugins/social/e_shortcode.php by phan

There are no issues that match your filters.

Category
Status