e107inc/e107

View on GitHub
e107_plugins/import/providers/drupal_import_class.php

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Avoid too many return statements within this method.
Open

            return $local_path;
Severity: Major
Found in e107_plugins/import/providers/drupal_import_class.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $local_path;
    Severity: Major
    Found in e107_plugins/import/providers/drupal_import_class.php - About 30 mins to fix

      Argument 3 (selected) is int but \e_form::select() takes bool|false defined at /code/e107_handlers/form_handler.php:3325
      Open

                  'html' => $frm->select('version', $versions, $this->version, 50, array(

      Argument 4 (options) is 50 but \e_form::select() takes array|string defined at /code/e107_handlers/form_handler.php:3325
      Open

                  'html' => $frm->select('version', $versions, $this->version, 50, array(

      Argument 5 (defaultBlank) is array{required:1} but \e_form::select() takes bool|false|string defined at /code/e107_handlers/form_handler.php:3325
      Open

                          'required' => 1,

      There are no issues that match your filters.

      Category
      Status