e107inc/e107

View on GitHub
e107_core/bbcodes/bb_img.php

Summary

Maintainability
A
2 hrs
Test Coverage
D
65%

Avoid too many return statements within this method.
Open

                return defset('CORE_LAN18') . $code_text;
Severity: Major
Found in e107_core/bbcodes/bb_img.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return "<img src='" . $code_text . "' {$parmStr} />";
    Severity: Major
    Found in e107_core/bbcodes/bb_img.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                              return defset('CORE_LAN17');
      Severity: Major
      Found in e107_core/bbcodes/bb_img.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return "<a href='" . $main_name . "' rel='external'><img src='" . $code_text . "' {$parmStr} /></a>";
        Severity: Major
        Found in e107_core/bbcodes/bb_img.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                                  return '';
          Severity: Major
          Found in e107_core/bbcodes/bb_img.php - About 30 mins to fix

            Argument 2 (options) is string but \e_parse::thumbUrl() takes array defined at /code/e107_handlers/e_parse_class.php:2531
            Open

                            $code_text = $tp->thumbUrl($code_text, 'w=' . $w . '&h=' . $h);
            Severity: Minor
            Found in e107_core/bbcodes/bb_img.php by phan

            There are no issues that match your filters.

            Category
            Status