e107inc/e107

View on GitHub
e107_plugins/featurebox/includes/item.php

Summary

Maintainability
A
0 mins
Test Coverage
F
46%

Call with 3 arg(s) to \e_parse::toAttribute() which only takes 2 arg(s) defined at /code/e107_handlers/e_parse_class.php:1900
Open

        $alt = $tp->toAttribute($this->get('fb_title'), false, 'TITLE');

Saw possibly unextractable annotation for a fragment of comment '* @param optional - to strat from 0 if needed. (bootstrap 3)': after optional, did not see an element name (will guess based on comment order)
Open

     * @param optional - to strat from 0 if needed. (bootstrap 3)

Parameter $parm has undeclared type \optional
Open

    public function sc_featurebox_counter($parm=1)

Argument 2 (options) is 'aw=100&ah=60'|string but \e_parse::thumbUrl() takes array defined at /code/e107_handlers/e_parse_class.php:2531
Open

        $src = e107::getParser()->thumbUrl($this->get('fb_image'),$att);

Default value for \optional $parm can't be int
Open

    public function sc_featurebox_counter($parm=1)

array to string comparison
Open

        $imageSrc = ($parm != 'placeholder') ? $this->get('fb_image') : "";

There are no issues that match your filters.

Category
Status