Showing 3,246 of 4,217 total issues

Method create_procedure has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function create_procedure($name, $sql_body, $sql_params = '', $extra = [], &$error = false)
Severity: Minor
Found in plugins/db/classes/db/yf_db_utils_mysql.class.php - About 35 mins to fix

    Method update_batch has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function update_batch($table, array $data, $index = null, $only_sql = false, $params = [])
    Severity: Minor
    Found in plugins/db/classes/db/yf_db_query_builder_driver.class.php - About 35 mins to fix

      Method insert_on_duplicate_key_update has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function insert_on_duplicate_key_update($table, $data, $only_sql = false, $replace = false, $extra = [])
      Severity: Minor
      Found in plugins/db/classes/yf_db.class.php - About 35 mins to fix

        Method add_index has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function add_index($table, $index_name = '', $fields = [], $extra = [], &$error = false)
        Severity: Minor
        Found in plugins/db/classes/db/yf_db_utils_driver.class.php - About 35 mins to fix

          Method rename_column has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function rename_column($table, $col_name, $new_name, $extra = [], &$error = false)
          Severity: Minor
          Found in plugins/db/classes/db/yf_db_utils_driver.class.php - About 35 mins to fix

            Method update has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public function update(array $fields, $ref_table, array $ref_fields, $extra = [], &$error = false)
            Severity: Minor
            Found in plugins/db/classes/db/yf_db_utils_helper_foreign_key.class.php - About 35 mins to fix

              Method add_index has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public function add_index($table, $index_name = '', $fields = [], $extra = [], &$error = false)
              Severity: Minor
              Found in plugins/db/classes/db/yf_db_utils_pgsql.class.php - About 35 mins to fix

                Method column_info_item has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public function column_info_item($table, $col_name, $item_name, $extra = [], &$error = false)
                Severity: Minor
                Found in plugins/db/classes/db/yf_db_utils_driver.class.php - About 35 mins to fix

                  Method alter_index has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function alter_index($table, $index_name = '', $fields = [], $extra = [], &$error = false)
                  Severity: Minor
                  Found in plugins/db/classes/db/yf_db_utils_driver.class.php - About 35 mins to fix

                    Method alter_column has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public function alter_column($table, $col_name, $data, $extra = [], &$error = false)
                    Severity: Minor
                    Found in plugins/db/classes/db/yf_db_utils_driver.class.php - About 35 mins to fix

                      Method image has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public function image($name, $path, $link = '', $extra = [], $table)
                      Severity: Minor
                      Found in plugins/table2/classes/table2/yf_table2_image.class.php - About 35 mins to fix

                        Method update_index has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public function update_index($table, $index_name = '', $fields = [], $extra = [], &$error = false)
                        Severity: Minor
                        Found in plugins/db/classes/db/yf_db_utils_driver.class.php - About 35 mins to fix

                          Method create_event has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public function create_event($name, $event_shedule, $event_body, $extra = [], &$error = false)
                          Severity: Minor
                          Found in plugins/db/classes/db/yf_db_utils_mysql.class.php - About 35 mins to fix

                            Method update_safe has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public function update_safe($table, $data, $where, $only_sql = false, $extra = [])
                            Severity: Minor
                            Found in plugins/db/classes/yf_db.class.php - About 35 mins to fix

                              Method _get_oauth_header has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public function _get_oauth_header($url, $params, $method = 'POST', $oauth_token_secret = '', $add_to_sign = [])
                              Severity: Minor
                              Found in plugins/oauth/classes/oauth/yf_oauth_driver1.class.php - About 35 mins to fix

                                Method redirect has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public function redirect($location, $rewrite = true, $redirect_type = 'js', $text = '', $ttl = 3)
                                Severity: Minor
                                Found in plugins/common/classes/yf_common.class.php - About 35 mins to fix

                                  Method http_request has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public function http_request($url, $headers = [], $method = 'GET', $data = null, $retry = 3)
                                  Severity: Minor
                                  Found in plugins/common/classes/common/yf_remote_files.class.php - About 35 mins to fix

                                    Method insert_ignore has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        public function insert_ignore($table, $data, $only_sql = false, $replace = false, $extra = [])
                                    Severity: Minor
                                    Found in plugins/db/classes/yf_db.class.php - About 35 mins to fix

                                      Method http_request has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public function http_request($url, $headers = [], $method = 'GET', $data = null, $retry = 3)
                                      Severity: Minor
                                      Found in plugins/common/classes/yf_common.class.php - About 35 mins to fix

                                        Method foreign has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            public function foreign($columns, $ref_table, $ref_columns, $name = null, $params = [])
                                        Severity: Minor
                                        Found in plugins/db/classes/db/yf_db_utils_helper_create_table.class.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language