felixarntz/plugin-lib

View on GitHub

Showing 458 of 821 total issues

Avoid too many return statements within this method.
Open

                    return $result;
Severity: Major
Found in src/db-objects/model.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                                return $this->post_sync_upstream( new WP_Error( 'meta_update_error', sprintf( $this->manager->get_message( 'meta_update_error' ), $meta_key ) ), $add );
    Severity: Major
    Found in src/db-objects/model.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return null;
      Severity: Major
      Found in src/db-objects/model-types/core-model-type.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return $this->home_url( $permalink, $this->manager->get_prefix() . $this->manager->get_singular_slug() );
        Severity: Major
        Found in src/db-objects/view-routing.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return $this->post_validate_single( $value, $original );
          Severity: Major
          Found in src/fields/field.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return $value;
            Severity: Major
            Found in src/fields/select-base.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return $value;
              Severity: Major
              Found in src/fields/autocomplete.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return $orig_value;
                Severity: Major
                Found in src/fields/media.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return true;
                  Severity: Major
                  Found in src/components/admin-pages.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return $validated;
                    Severity: Major
                    Found in src/fields/field.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return $value;
                      Severity: Major
                      Found in src/fields/datetime.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return $value;
                        Severity: Major
                        Found in src/fields/number.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return $value;
                          Severity: Major
                          Found in src/fields/field.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return false;
                            Severity: Major
                            Found in src/fields/media.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return $value;
                              Severity: Major
                              Found in src/fields/field.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return true;
                                Severity: Major
                                Found in src/components/extensions.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                      return true;
                                  Severity: Major
                                  Found in src/fields/media.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return new WP_Error( 'field_select_invalid', sprintf( $this->manager->get_message( 'field_select_invalid' ), $value, $this->label ) );
                                    Severity: Major
                                    Found in src/fields/select-base.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                          return $values[0];
                                      Severity: Major
                                      Found in src/meta.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return $values;
                                        Severity: Major
                                        Found in src/meta.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language