gocodebox/lifterlms-rest

View on GitHub

Showing 156 of 191 total issues

Avoid too many return statements within this method.
Open

            return $fields_update;
Severity: Major
Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return true;
    Severity: Major
    Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return false;
      Severity: Major
      Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return $response;
        Severity: Major
        Found in includes/server/class-llms-rest-enrollments-controller.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return $response;
          Severity: Major
          Found in includes/server/class-llms-rest-enrollments-controller.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return $fields_update;
            Severity: Major
            Found in includes/server/class-llms-rest-enrollments-controller.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return false;
              Severity: Major
              Found in includes/admin/class-llms-rest-admin-form-controller.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return $response;
                Severity: Major
                Found in includes/abstracts/class-llms-rest-controller.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return $meta_update;
                  Severity: Major
                  Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $terms_update;
                    Severity: Major
                    Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return $fields_update;
                      Severity: Major
                      Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return $fields_update;
                        Severity: Major
                        Found in includes/server/class-llms-rest-enrollments-controller.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return $response;
                          Severity: Major
                          Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $meta_update;
                            Severity: Major
                            Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $this->prepare_item_for_response( $object, $request );
                              Severity: Major
                              Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return $prepared;
                                Severity: Major
                                Found in includes/abstracts/class-llms-rest-controller.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return $response;
                                  Severity: Major
                                  Found in includes/abstracts/class-llms-rest-controller.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $response;
                                    Severity: Major
                                    Found in includes/abstracts/class-llms-rest-posts-controller.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return $updated_date_created;
                                      Severity: Major
                                      Found in includes/server/class-llms-rest-enrollments-controller.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return llms_rest_server_error( __( 'The enrollment creation date could not be updated', 'lifterlms' ) );
                                        Severity: Major
                                        Found in includes/server/class-llms-rest-enrollments-controller.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language