pagseguro/magento2

View on GitHub

Showing 261 of 385 total issues

Avoid too many return statements within this function.
Open

          return [sel._DT_RowIndex]; // Property added by DT for fast lookup
Severity: Major
Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return host.length ? [host.data('dt-column')] : [];
    Severity: Major
    Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return false;
      Severity: Major
      Found in view/frontend/web/js/model/direct-payment-validator.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return [_fnVisibleToColumnIndex(settings, idx)];
        Severity: Major
        Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return [s._DT_CellIndex.column];
          Severity: Major
          Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return jqResult;
            Severity: Major
            Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return false;
              Severity: Major
              Found in view/frontend/web/js/model/direct-payment-validator.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return function (data, type) {
                        // row and meta also passed, but not used
                        return data[mSource];
                      };
                Severity: Major
                Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return function (data, val) {
                          // meta is also passed in, but not used
                          data[mSource] = val;
                        };
                  Severity: Major
                  Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return jq
                            .map(function (i) {
                              idx = $.inArray(this, tables);
                              return idx !== -1 ? settings[idx] : null;
                            })
                    Severity: Major
                    Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return $(nodes)
                              .filter(sel)
                              .map(function () {
                                return this._DT_RowIndex;
                              })
                      Severity: Major
                      Found in view/adminhtml/web/js/jquery.dataTables.min.js - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return 'Cartão de crédito Cabal';
                        Severity: Major
                        Found in Helper/Data.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return 'Boleto Santander';
                          Severity: Major
                          Found in Helper/Data.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                return 'Saldo PagSeguro';
                            Severity: Major
                            Found in Helper/Data.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                  return 'Cobrança';
                              Severity: Major
                              Found in Helper/Data.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return 'Operacional';
                                Severity: Major
                                Found in Helper/Data.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                      return 'Cartão de crédito PersonalCard';
                                  Severity: Major
                                  Found in Helper/Data.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $this->_redirect(sprintf('%s%s', $this->baseUrl(), 'pagseguro/direct/success'));
                                    Severity: Major
                                    Found in Controller/Payment/Request.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                          return $type;
                                      Severity: Major
                                      Found in Helper/Data.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return 'Cartão de crédito Hipercard';
                                        Severity: Major
                                        Found in Helper/Data.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language