YetiForceCompany/YetiForceCRM

View on GitHub

Showing 4,652 of 306,333 total issues

Avoid too many return statements within this method.
Open

            return \App\Language::translate('Password should contain special characters', $moduleName);
Severity: Major
Found in modules/Settings/Password/models/Record.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return 'PLL_PLANNED';
    Severity: Major
    Found in modules/OSSSoldServices/models/Record.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return App\Language::translate($this->get($fieldName), 'Users');
      Severity: Major
      Found in modules/Settings/LoginHistory/models/Record.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return $passStatus['message'];
        Severity: Major
        Found in modules/Settings/Password/models/Record.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return \App\Purifier::encodeHtml($this->get($fieldName));
          Severity: Major
          Found in modules/Settings/LoginHistory/models/Record.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return 'PLL_WAITING_FOR_RENEWAL';
            Severity: Major
            Found in modules/OSSSoldServices/models/Record.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return 'PLL_NOT_RENEWED_VERIFICATION';
              Severity: Major
              Found in modules/OSSSoldServices/models/Record.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return false;
                Severity: Major
                Found in modules/Settings/Password/models/Record.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return \call_user_func_array("{$classFunction['class']}::{$classFunction['method']}", [$this, 'PLL_NOT_RENEWED_VERIFICATION']);
                  Severity: Major
                  Found in modules/OSSSoldServices/models/Record.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return \call_user_func_array("{$classFunction['class']}::{$classFunction['method']}", [$this, 'PLL_WAITING_FOR_RENEWAL']);
                    Severity: Major
                    Found in modules/OSSSoldServices/models/Record.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return \App\Language::translate('Lowercase letters a to z', $moduleName);
                      Severity: Major
                      Found in modules/Settings/Password/models/Record.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                                        return $result;
                        Severity: Major
                        Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                                  return 'on' === $fieldValue || 1 === $fieldValue || '1' === $fieldValue;
                          Severity: Major
                          Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return preg_match($value, $fieldValue);
                            Severity: Major
                            Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return false;
                              Severity: Major
                              Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return true;
                                Severity: Major
                                Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return false;
                                  Severity: Major
                                  Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return true;
                                    Severity: Major
                                    Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                                      return empty(array_diff($value, $fieldValue));
                                      Severity: Major
                                      Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return !\in_array($fieldValue, $value);
                                        Severity: Major
                                        Found in modules/com_vtiger_workflow/VTJsonCondition.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language