e107inc/e107

View on GitHub
e107_plugins/social/e_event.php

Summary

Maintainability
A
0 mins
Test Coverage
F
47%

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

            $metaImg = e107::getParser()->thumbUrl($ogImage, 'w=800', false, true);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:image', $metaImg);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'og:type' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:type', 'website');
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $metaImg);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'twitter:image' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $metaImg);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is 'website' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:type', 'website');
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:title', SITENAME);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

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

        if($ogImage = e107::pref('social', 'og_image', false))
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'og:title' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:title', $title); // will only populate if not already defined.
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'og:image' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:image', $metaImg);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'twitter:title' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:title', SITENAME);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'og:image' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:image',$siteButton);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'twitter:title' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:title', $title);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is array|string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:image',$siteLogo);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

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

            $siteButton = (strpos($pref['sitebutton'],'{e_MEDIA') !== false) ? e107::getParser()->thumbUrl($pref['sitebutton'],'w=800',false, true) : e107::getParser()->replaceConstants($pref['sitebutton'],'full');
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'og:image' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:image',$siteLogo);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'og:description' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

                e107::meta('og:description', $description);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'twitter:description' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

                e107::meta('twitter:description', $description);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'og:title' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:title', SITENAME);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:title', SITENAME);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is array|string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $siteButton);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

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

            $siteLogo = (strpos($pref['sitelogo'],'{e_MEDIA') !== false) ? e107::getParser()->thumbUrl($pref['sitelogo'],'w=800',false, true) : e107::getParser()->replaceConstants($pref['sitelogo'],'full');
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'twitter:image' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $siteLogo);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is array|string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:image',$siteButton);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'twitter:image' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $siteButton);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (content) is array|string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $siteLogo);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

There are no issues that match your filters.

Category
Status