e107_handlers/library_manager.php
Avoid too many return
statements within this method. Open
Open
return $library;
Invalid offset "post_detect"
of array type array{info:array<int>}</int>
Open
Open
array_unshift($library['callbacks']['post_detect'], 'detectDependencies');
- Exclude checks
Reference to undeclared class \admin_theme_library
Open
Open
$class = new $addonClass();
- Exclude checks
Argument 2 (mode)
is null
but \e_parse::replaceConstants()
takes string
defined at /code/e107_handlers/e_parse_class.php:3025
Open
Open
return trim(e107::getParser()->replaceConstants($path,$mode),'/') .'/';
- Exclude checks
Reference to undeclared class \admin_theme_library
Open
Open
$class = new $theme['class']();
- Exclude checks
Argument 1 (str)
is true
but \deftrue()
takes string
defined at /code/e107_handlers/core_functions.php:110
Open
Open
elseif(!deftrue(e_ADMIN_AREA, false) && $provider == $siteTheme)
- Exclude checks
Invalid offset "path"
of array type array{library_path:string}
Open
Open
$libraries['cdn.bootstrap.editable']['path'] .= '/bootstrap-editable';
- Exclude checks
Expected an object instance or the name of a class but saw expression with type 'admin_theme_library'
Open
Open
$class = new $addonClass();
- Exclude checks
Reference to undeclared class \admin_theme_library
Open
Open
$class = new $addonClass();
- Exclude checks
Argument 1 (str)
is true
but \deftrue()
takes string
defined at /code/e107_handlers/core_functions.php:110
Open
Open
elseif(!deftrue(e_ADMIN_AREA, false) && $provider == $siteTheme)
- Exclude checks
Expected an object instance or the name of a class but saw expression with type 'admin_theme_library'
Open
Open
$class = new $addonClass();
- Exclude checks
Returning type false
but detectPath()
is declared to return string
Open
Open
return false;
- Exclude checks