elisei/pagbank-payment-magento

View on GitHub

Showing 68 of 159 total issues

Avoid too many return statements within this method.
Open

            return $this->createResult(
                200,
                [
                    'error'   => 200,
                    'message' => __('Not apply.'),
Severity: Minor
Found in Controller/Notification/All.php - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return resultWrapper(cardType, valid, valid);

      Avoid too many return statements within this function.
      Open

                  return true;
      Severity: Major
      Found in view/base/web/js/validation/custom-validation.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return true;
        Severity: Major
        Found in view/base/web/js/validation/custom-validation.js - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return $result;
          Severity: Minor
          Found in Controller/AbstractNotification.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $proceed($buttonId, $data, $level, $sortOrder, $region);
            Severity: Minor
            Found in Plugin/SalesOrderViewButtonPlugin.php - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return false;
              Severity: Minor
              Found in view/base/web/js/validation/custom-validation.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return false;
                Severity: Minor
                Found in view/base/web/js/validation/custom-validation.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                      return false;
                  Severity: Minor
                  Found in view/frontend/web/js/view/payment/pagbank-place-order.js - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                        return true;
                    Severity: Minor
                    Found in Gateway/Config/ConfigCc.php - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return resultWrapper(null, false, false);

                        Avoid too many return statements within this function.
                        Open

                                        return false;
                        Severity: Minor
                        Found in view/base/web/js/validation/custom-credit-card-validation.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return authenticationStatus === 'AUTHENTICATED';
                          Severity: Minor
                          Found in view/frontend/web/js/view/payment/pagbank-place-order.js - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return $this->initProcess($psPaymentId);
                            Severity: Minor
                            Found in Controller/Notification/All.php - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return resultWrapper(cardType, true, false);

                                Avoid too many return statements within this function.
                                Open

                                                    return false;
                                Severity: Minor
                                Found in view/base/web/js/validation/custom-validation.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return true;
                                  Severity: Major
                                  Found in view/frontend/web/js/view/payment/pagbank-place-order.js - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $result;
                                    Severity: Minor
                                    Found in Controller/Notification/All.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return false;
                                      Severity: Minor
                                      Found in Gateway/Config/ConfigCc.php - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return false;
                                        Severity: Minor
                                        Found in view/base/web/js/validation/custom-validation.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language