e107inc/e107

View on GitHub
e107_plugins/gallery/e_shortcode.php

Summary

Maintainability
A
0 mins
Test Coverage
A
90%

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

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

Argument 4 (search) is null but \e_media::getImages() takes string defined at /code/e107_handlers/media_class.php:491
Open

        $list          = e107::getMedia()->getImages('gallery_image|gallery_' . $this->sliderCat . '|gallery_image_' . $this->sliderCat, 0, $limit, null, $orderBy);
Severity: Minor
Found in e107_plugins/gallery/e_shortcode.php by phan

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

        $text .= "<img class='".$class."' data-src='holder.js/" . $w . "x" . $h . "' src='" . e107::getParser()->thumbUrl($this->var['media_cat_image'], $att) . "' alt='' />";
Severity: Minor
Found in e107_plugins/gallery/e_shortcode.php by phan

Argument 4 (search) is null but \e_media::getImages() takes string defined at /code/e107_handlers/media_class.php:491
Open

        $list = e107::getMedia()->getImages($imageQry, 0, $limit, null, $orderBy);
Severity: Minor
Found in e107_plugins/gallery/e_shortcode.php by phan

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

            return e107::getParser()->thumbUrl($this->var['media_cat_image'], $att);
Severity: Minor
Found in e107_plugins/gallery/e_shortcode.php by phan

There are no issues that match your filters.

Category
Status