luyadev/luya-module-admin

View on GitHub

Showing 331 of 503 total issues

Avoid too many return statements within this method.
Open

                        return ($value <= $expression['value']);
Severity: Major
Found in src/storage/QueryTrait.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return;
    Severity: Major
    Found in src/ngrest/plugins/SelectRelationActiveQuery.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                              return ($value < $expression['value']);
      Severity: Major
      Found in src/storage/QueryTrait.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                    return $image;
            Severity: Major
            Found in src/storage/BaseFileSystemStorage.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                      return in_array($value, $expression['value']);
              Severity: Major
              Found in src/storage/QueryTrait.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return $this->writeAttribute($event, implode(" ", $row));
                Severity: Major
                Found in src/ngrest/plugins/SelectRelationActiveQuery.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return $image;
                  Severity: Major
                  Found in src/storage/BaseFileSystemStorage.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $fieldValue;
                    Severity: Major
                    Found in src/ngrest/plugins/SelectRelationActiveQuery.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                        return I18n::decodeFindActive($fieldValue);
                        Severity: Major
                        Found in src/ngrest/plugins/SelectRelationActiveQuery.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return $this->sendArray(false, $model->getErrors(), false);
                          Severity: Major
                          Found in src/controllers/LoginController.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $this->sendArray(false, [Module::t('login_async_twofa_verify_error')]);
                            Severity: Major
                            Found in src/controllers/LoginController.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $this->sendArray(false, [Module::t('login_async_token_globalerror')]);
                              Severity: Major
                              Found in src/controllers/LoginController.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return ['upload' => false, 'message' => Storage::getUploadErrorMessage(UPLOAD_ERR_NO_FILE), 'file' => null, 'queueIds' => []];
                                Severity: Major
                                Found in src/apis/StorageController.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                              return $this->outputSuccess("Setup is finished. You can now login into the administration area with the email '{$this->email}'.");
                                      Severity: Major
                                      Found in src/commands/SetupController.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return $this->sendArray(true);
                                        Severity: Major
                                        Found in src/controllers/LoginController.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language