Showing 3,246 of 4,217 total issues

Avoid too many return statements within this method.
Open

                return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
                    ->text('name')
                    ->select_box('order_by', $order_fields, ['show_text' => 1, 'translate' => 1]);
Severity: Major
Found in plugins/shop/admin_modules/manage_shop/yf_manage_shop_filter.class.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $out;
    Severity: Major
    Found in plugins/shop/admin_modules/manage_shop/yf_manage_shop_orders.class.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $from_env;
      Severity: Major
      Found in plugins/redis/classes/yf_wrapper_redis.class.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
                            ->text('item_id', 'Order id')
                            ->text('user_id', 'Admin')
                            ->datetime_select('add_date', null, ['with_time' => 1])
                            ->datetime_select('add_date__and', null, ['with_time' => 1])
        Severity: Major
        Found in plugins/shop/admin_modules/manage_shop/yf_manage_shop_filter.class.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return false;
          Severity: Major
          Found in plugins/shop/admin_modules/manage_shop/yf_manage_shop_filter.class.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $default;
            Severity: Major
            Found in plugins/redis/classes/yf_wrapper_redlock.class.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return  false;
              Severity: Major
              Found in plugins/redis/classes/yf_wrapper_redis.class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                        return $row['name'];
                Severity: Major
                Found in plugins/shop/admin_modules/manage_shop/yf_manage_shop_orders.class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                          return $row['delete'];
                  Severity: Major
                  Found in plugins/shop/admin_modules/manage_shop/yf_manage_shop_orders.class.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return false;
                    Severity: Major
                    Found in plugins/ssh/classes/yf_ssh.class.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return $con;
                      Severity: Major
                      Found in plugins/ssh/classes/yf_ssh.class.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return '<button class="btn btn-mini btn-xs btn-danger rollback_item" data-id="' . $row_info['id'] . '"><i class="icon-undo fa fa-undo"></i> <span>' . t('Rollback') . '</span></button>';

                          Avoid too many return statements within this method.
                          Open

                                  return $html;

                            Avoid too many return statements within this method.
                            Open

                                    return $data;
                            Severity: Major
                            Found in plugins/ssh/classes/yf_ssh.class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return false;
                              Severity: Major
                              Found in plugins/logs/classes/logs/yf_logs_exec_admin.class.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return false;
                                Severity: Major
                                Found in plugins/ssh/classes/yf_ssh.class.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return false;
                                  Severity: Major
                                  Found in plugins/ssh/classes/yf_ssh.class.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $data;
                                    Severity: Major
                                    Found in plugins/ssh/classes/yf_ssh.class.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return $con;
                                      Severity: Major
                                      Found in plugins/ssh/classes/yf_ssh.class.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return true;
                                        Severity: Major
                                        Found in plugins/ssh/classes/ssh/yf_ssh_files.class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language