felixarntz/wpdlib

View on GitHub

Showing 156 of 160 total issues

Avoid too many return statements within this method.
Open

                    return self::format_byte( $value, $mode, $args );
Severity: Major
Found in inc/WPDLib/FieldTypes/Manager.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return self::merge_components( self::$components[ $component_class ][ $component->slug ], $component );
    Severity: Major
    Found in inc/WPDLib/Components/Manager.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                          return wp_basename( get_attached_file( $id ) );
      Severity: Major
      Found in inc/WPDLib/FieldTypes/Media.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return $this->get_attachment_path( $id, $field );
        Severity: Major
        Found in inc/WPDLib/FieldTypes/Media.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return $info;
          Severity: Major
          Found in inc/WPDLib/Components/Manager.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                return get_attachment_link( $id );
            Severity: Major
            Found in inc/WPDLib/FieldTypes/Media.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                  return self::format_float( $value, $mode, $args );
              Severity: Major
              Found in inc/WPDLib/FieldTypes/Manager.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                            return 'users.php';
                Severity: Major
                Found in inc/WPDLib/Components/Menu.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                          return 'tools.php';
                  Severity: Major
                  Found in inc/WPDLib/Components/Menu.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return false;
                    Severity: Major
                    Found in inc/WPDLib/FieldTypes/Media.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                          return $this->get_post_field( $id, 'post_content' );
                      Severity: Major
                      Found in inc/WPDLib/FieldTypes/Media.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return false;
                        Severity: Major
                        Found in inc/WPDLib/FieldTypes/Manager.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return $term;
                          Severity: Major
                          Found in inc/WPDLib/FieldTypes/Datetime.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                        return 'profile.php';
                            Severity: Major
                            Found in inc/WPDLib/Components/Menu.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                  return $this->get_attachment_mime_type( $id, $field );
                              Severity: Major
                              Found in inc/WPDLib/FieldTypes/Media.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                        return 'edit-comments.php';
                                Severity: Major
                                Found in inc/WPDLib/Components/Menu.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return $component;
                                  Severity: Major
                                  Found in inc/WPDLib/Components/Base.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return (string) $val[0] . '|' . (string) $val[1];
                                    Severity: Major
                                    Found in inc/WPDLib/FieldTypes/Map.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return false;
                                      Severity: Major
                                      Found in inc/WPDLib/Components/Menu.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return 'His';
                                        Severity: Major
                                        Found in inc/WPDLib/FieldTypes/Manager.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language