pagseguro/magento2

View on GitHub

Showing 385 of 385 total issues

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 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 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 [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 [sel._DT_CellIndex.row];
          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 $(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 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 [rowObj.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 method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                            return 'Validador';
                        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 Cabal';
                          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 Mais!';
                            Severity: Major
                            Found in Helper/Data.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                  return 'Débito online Itaú';
                              Severity: Major
                              Found in Helper/Data.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return 'Pagamento pré aprovado';
                                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 VALECARD';
                                  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 Elo';
                                    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 BrasilCard';
                                      Severity: Major
                                      Found in Helper/Data.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return 'Débito online Banrisul';
                                        Severity: Major
                                        Found in Helper/Data.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language