e107inc/e107

View on GitHub
e107_handlers/user_extended_class.php

Summary

Maintainability
C
1 day
Test Coverage
C
73%

Method user_extended_add has 12 arguments (exceeds 7 allowed). Consider refactoring.
Open

    function user_extended_add($name, $text='', $type='', $parms='', $values='', $default='', $required='', $read='', $write='', $applicable='', $order='', $parent='')
Severity: Major
Found in e107_handlers/user_extended_class.php - About 1 hr to fix

    Method user_extended_modify has 12 arguments (exceeds 7 allowed). Consider refactoring.
    Open

        function user_extended_modify($id, $name, $text, $type, $parms, $values, $default, $required, $read, $write, $applicable, $parent)
    Severity: Major
    Found in e107_handlers/user_extended_class.php - About 1 hr to fix

      Consider simplifying this complex logical expression.
      Open

                  if (($category == 0) || ($isSignup && (int) $this->catDefinitions[$category]['user_extended_struct_applicable'] === (int) e_UC_MEMBER && (int) $this->catDefinitions[$category]['user_extended_struct_write'] === (int) e_UC_MEMBER) || (check_class($this->catDefinitions[$category]['user_extended_struct_applicable']) && check_class($this->catDefinitions[$category]['user_extended_struct_write'])))
                  {    // Category applicable to user
                      
                      if (($isSignup && (int) $defs['user_extended_struct_applicable'] === (int) e_UC_MEMBER && (int) $defs['user_extended_struct_write'] === (int) e_UC_MEMBER) || (check_class($defs['user_extended_struct_applicable']) && check_class($defs['user_extended_struct_write'])))
                      {    // User can also update field
      Severity: Major
      Found in e107_handlers/user_extended_class.php - About 40 mins to fix

        Avoid too many return statements within this method.
        Open

                        return e107::getForm()->checkboxes($fname.'[]',$choices, $curval, array('useLabelValues'=>1));
        Severity: Major
        Found in e107_handlers/user_extended_class.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                                  return e107::getForm()->text($fname,$curval,10,$opts);
          Severity: Major
          Found in e107_handlers/user_extended_class.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                return "<textarea id='{$fid}' {$include} name='{$fname}'  {$required} {$title}>{$curval}</textarea>";
            Severity: Major
            Found in e107_handlers/user_extended_class.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                  return $ret;
              Severity: Major
              Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                    return "<span class='label label-danger'>Failed to load</span>";
                Severity: Major
                Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                return $ret;
                  Severity: Major
                  Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return $ret;
                    Severity: Major
                    Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                          return e107::getForm()->datepicker($fname,$curval,$opts);
                      Severity: Major
                      Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return "Missing Extended Class";
                        Severity: Major
                        Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return "<span class='label label-danger'>Failed to load (misconfigured. See debug for more info.)</span>";
                          Severity: Major
                          Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                return e107::getForm()->bbarea($fname, $curval);
                            Severity: Major
                            Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $ret;
                              Severity: Major
                              Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                                Reference to undeclared constant \EUF_RADIO
                                Open

                                            'radio'         => EUF_RADIO,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                            'checkbox'        => EUF_CHECKBOX,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_COUNTRY
                                Open

                                                case EUF_COUNTRY:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_COUNTRY
                                Open

                                            case EUF_COUNTRY:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                            case EUF_CHECKBOX : //checkboxes
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXTAREA
                                Open

                                            case EUF_TEXTAREA : //textarea
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXT
                                Open

                                            'text'          => EUF_TEXT,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_LANGUAGE
                                Open

                                                    case EUF_LANGUAGE :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DATE
                                Open

                                            case EUF_DATE :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                                case EUF_CHECKBOX : //checkboxes
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_LANGUAGE
                                Open

                                            case EUF_LANGUAGE : // language
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DATE
                                Open

                                            'date'          => EUF_DATE,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                            case EUF_RICHTEXTAREA :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREDEFINED
                                Open

                                            case EUF_PREDEFINED :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_INTEGER
                                Open

                                            case EUF_INTEGER :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_ADDON
                                Open

                                            'user_extended_struct_values'       => ($type === EUF_ADDON) ? (string) $values : (string) $tp -> toDB($values, true),
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Variable $ret was undeclared, but array fields are being added to it.
                                Open

                                        $ret['version'] = $data['@attributes']['version'];

                                Reference to undeclared constant \EUF_TEXT
                                Open

                                                    case EUF_TEXT :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXTAREA
                                Open

                                                    case EUF_TEXTAREA :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_INTEGER
                                Open

                                        case EUF_INTEGER :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREFIELD
                                Open

                                         case EUF_PREFIELD: // FIXME Predefined field - this should be assignable from XML typically.
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                      if($type != EUF_DB_FIELD && ($type != EUF_TEXTAREA) && ($type != EUF_RICHTEXTAREA) &&  ($type != EUF_CHECKBOX) && !empty($default))
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                array to string conversion
                                Open

                                        if($this->user_extended_field_exist($name) && $sql->field('user_extended', 'user_'.$name)!==false)

                                Reference to undeclared constant \EUF_DATE
                                Open

                                            case EUF_DATE : //date
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Variable $info is undeclared
                                Open

                                        unset($info);
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_INTEGER
                                Open

                                            'integer'       => EUF_INTEGER,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_LANGUAGE
                                Open

                                            'language'      => EUF_LANGUAGE,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                            'richtextarea'     => EUF_RICHTEXTAREA, 
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Saw possibly unextractable annotation for a fragment of comment '* @param string read|write|applicable': after string, did not see an element name (will guess based on comment order)
                                Open

                                     * @param string read|write|applicable

                                Reference to undeclared constant \EUF_DATE
                                Open

                                            case EUF_DATE :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                                    case EUF_CHECKBOX :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DROPDOWN
                                Open

                                                case EUF_DROPDOWN : //dropdown
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Call to undeclared method \e_db::db_getList
                                Open

                                                $ret = $sql->db_getList();
                                Severity: Critical
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_COUNTRY
                                Open

                                          case EUF_COUNTRY :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DROPDOWN
                                Open

                                            case EUF_DROPDOWN : //dropdown
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                            'db field'      => EUF_DB_FIELD,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREDEFINED
                                Open

                                            'list'          => EUF_PREDEFINED,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREFIELD
                                Open

                                            'predefined'    => EUF_PREFIELD, // DON'T USE IT IN PREDEFINED FIELD XML!!! Used in plugin installation routine.
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                                    case EUF_DB_FIELD :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREDEFINED
                                Open

                                                    case EUF_PREDEFINED :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                array to string conversion
                                Open

                                        trigger_error("Extended User Field ".$name." doesn't exist", E_USER_NOTICE);

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                            case EUF_RICHTEXTAREA : // rich textarea (using WYSIWYG editor)
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXT
                                Open

                                            case EUF_TEXT :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RADIO
                                Open

                                        case EUF_RADIO :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXTAREA
                                Open

                                            'textarea'      => EUF_TEXTAREA,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                            case EUF_CHECKBOX :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RADIO
                                Open

                                                    case EUF_RADIO :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXT
                                Open

                                                case EUF_TEXT :  //textbox
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXTAREA
                                Open

                                                case EUF_TEXTAREA : //textarea
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXTAREA
                                Open

                                      if($type != EUF_DB_FIELD && ($type != EUF_TEXTAREA) && ($type != EUF_RICHTEXTAREA) &&  ($type != EUF_CHECKBOX) && !empty($default))
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_ADDON
                                Open

                                            case EUF_ADDON:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Argument 4 (options) is array{label:mixed,required:bool} but \e_form::radio() takes null defined at /code/e107_handlers/form_handler.php:2928
                                Open

                                                        $ret .= $frm->radio($fname,$val,($curval == $val),array('label'=>$label, 'required'=> !empty($required)));
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Assigning array|array{default:0,name:mixed,text:string,type:mixed,values:mixed,required:mixed,read:mixed,write:mixed,applicable:mixed,include_text:mixed,parms:mixed,regex:mixed}[]|array{name:mixed,text:string,type:mixed,values:mixed,default:mixed,required:mixed,read:mixed,write:mixed,applicable:mixed,include_text:mixed,parms:mixed,regex:mixed}[]|array{version:string} to property but \e107_user_extended->extended_xml is false
                                Open

                                        $this->extended_xml = $ret;
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DROPDOWN
                                Open

                                            'dropdown'      => EUF_DROPDOWN,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_COUNTRY
                                Open

                                            'country'       => EUF_COUNTRY,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                                    case EUF_RICHTEXTAREA :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                            case EUF_DB_FIELD :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DROPDOWN
                                Open

                                                    case EUF_DROPDOWN :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DATE
                                Open

                                                    case EUF_DATE :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXT
                                Open

                                            case EUF_TEXT :  //textbox
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_INTEGER
                                Open

                                                case EUF_INTEGER :  //integer
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_INTEGER
                                Open

                                            case EUF_INTEGER :  //integer
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREDEFINED
                                Open

                                                case EUF_PREDEFINED : // predefined list, shown in dropdown
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREDEFINED
                                Open

                                            case EUF_PREDEFINED : // predefined list, shown in dropdown
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                                case EUF_DB_FIELD : //db_field
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Call to undeclared method \e_db::db_getList
                                Open

                                                    $choiceList = $sql->db_getList('ALL', false);
                                Severity: Critical
                                Found in e107_handlers/user_extended_class.php by phan

                                string passed to foreach instead of array
                                Open

                                        foreach($data['item'] as $item)
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_LANGUAGE
                                Open

                                                case EUF_LANGUAGE : // language
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREFIELD
                                Open

                                                case EUF_PREFIELD:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                        case EUF_CHECKBOX :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                      if($type != EUF_DB_FIELD && ($type != EUF_TEXTAREA) && ($type != EUF_RICHTEXTAREA) &&  ($type != EUF_CHECKBOX) && !empty($default))
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXT
                                Open

                                        case EUF_TEXT :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DROPDOWN
                                Open

                                        case EUF_DROPDOWN :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_ADDON
                                Open

                                         case EUF_ADDON:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Returning type ?string but renderElement() is declared to return array|string
                                Open

                                        return $ret;
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                When fetching an array index from a value of type false|string, found an array index of type '\x40attributes', but expected the index to be of type int
                                Open

                                        $ret['version'] = $data['@attributes']['version'];
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DROPDOWN
                                Open

                                            case EUF_DROPDOWN :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_ADDON
                                Open

                                            case EUF_ADDON :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CATEGORY
                                Open

                                        case EUF_CATEGORY:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_LANGUAGE
                                Open

                                            case EUF_LANGUAGE :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                            case EUF_DB_FIELD : //db_field
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_INTEGER
                                Open

                                                    case EUF_INTEGER :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DATE
                                Open

                                        case EUF_DATE :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                        case EUF_DB_FIELD :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_LANGUAGE
                                Open

                                        case EUF_LANGUAGE :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_PREDEFINED
                                Open

                                        case EUF_PREDEFINED :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Returning type null but renderElement() is declared to return array|string
                                Open

                                                    return null;
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                When fetching an array index from a value of type false|string, found an array index of type 'item', but expected the index to be of type int
                                Open

                                        foreach($data['item'] as $item)
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Saw a token Phan may have failed to parse after '* @return boolean;': after boolean, saw ';'
                                Open

                                     * @return boolean;

                                Call to undeclared method \e_db::escape
                                Open

                                                $newvalue = "'".$sql->escape($newvalue)."'";
                                Severity: Critical
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_ADDON
                                Open

                                            'addon'         => EUF_ADDON,
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RADIO
                                Open

                                            case EUF_RADIO :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DATE
                                Open

                                                case EUF_DATE : //date
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                                case EUF_RICHTEXTAREA : // rich textarea (using WYSIWYG editor)
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Saw possibly unextractable annotation for a fragment of comment '* @param string read|write|type|values|parms|applicable': after string, did not see an element name (will guess based on comment order)
                                Open

                                     * @param string read|write|type|values|parms|applicable

                                Reference to undeclared constant \EUF_TEXTAREA
                                Open

                                        case EUF_TEXTAREA:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                        case EUF_RICHTEXTAREA :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RADIO
                                Open

                                            case EUF_RADIO : //radio
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_TEXTAREA
                                Open

                                            case EUF_TEXTAREA :
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RADIO
                                Open

                                                case EUF_RADIO : //radio
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_ADDON
                                Open

                                                case EUF_ADDON:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                      if($type != EUF_DB_FIELD && ($type != EUF_TEXTAREA) && ($type != EUF_RICHTEXTAREA) &&  ($type != EUF_CHECKBOX) && !empty($default))
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_ADDON
                                Open

                                        if($type === EUF_ADDON && !empty($fieldType))
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                When fetching an array index from a value of type string, found an array index of type 'version', but expected the index to be of type int
                                Open

                                        $ret['version'] = $data['@attributes']['version'];
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_CHECKBOX
                                Open

                                            case EUF_CHECKBOX:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_COUNTRY
                                Open

                                            case EUF_COUNTRY:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RICHTEXTAREA
                                Open

                                            case EUF_RICHTEXTAREA:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DATE
                                Open

                                            case EUF_DATE :        //check for 0000-00-00 in date field
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Unused result of a binary '.' operator
                                Open

                                            "Couldn't find extended field class: ".$table;

                                Reference to undeclared constant \EUF_PREDEFINED
                                Open

                                            case EUF_PREDEFINED :    // Predefined field - have to look up display string in relevant file
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_RADIO
                                Open

                                            case EUF_RADIO:
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Returning type null but renderValue() is declared to return array|string
                                Open

                                                    return null;
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Reference to undeclared constant \EUF_DB_FIELD
                                Open

                                            case EUF_DB_FIELD :        // check for db_lookup type
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Returning type null but renderValue() is declared to return array|string
                                Open

                                                    return null;
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                Returning type null but renderValue() is declared to return array|string
                                Open

                                                        return null;
                                Severity: Minor
                                Found in e107_handlers/user_extended_class.php by phan

                                There are no issues that match your filters.

                                Category
                                Status