TikiWiki/tiki-manager

View on GitHub

Showing 332 of 2,142 total issues

Avoid too many return statements within this method.
Open

        return $newCronJob;
Severity: Major
Found in src/Command/SetupSchedulerCronInstanceCommand.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return CommandHelper::validateInstanceSelection($answer, $instances);
    Severity: Major
    Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $value;
      Severity: Major
      Found in src/Command/Traits/InstanceConfigure.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return filter_var(trim($email), FILTER_VALIDATE_EMAIL);
        Severity: Major
        Found in src/Command/BackupInstanceCommand.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                                  return 1;
          Severity: Major
          Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return 0;
            Severity: Major
            Found in src/Command/SetupCloneManagerCommand.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return 1;
              Severity: Major
              Found in src/Command/ManagerUpdateCommand.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return $instance;
                Severity: Major
                Found in src/Command/Traits/InstanceConfigure.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return $instance->getId() != $sourceInstance->getId();
                  Severity: Major
                  Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return 0;
                    Severity: Major
                    Found in src/Command/ManagerUpdateCommand.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return 1;
                      Severity: Major
                      Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return 1;
                        Severity: Major
                        Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return 1;
                          Severity: Major
                          Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return Helper\CommandHelper::validateCrontabInput($answer);
                            Severity: Major
                            Found in src/Command/SetupSchedulerCronInstanceCommand.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return 0;
                              Severity: Major
                              Found in src/Command/UpdateInstanceCommand.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return $value;
                                Severity: Major
                                Found in src/Command/Traits/InstanceConfigure.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return 0;
                                  Severity: Major
                                  Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $answer;
                                    Severity: Major
                                    Found in src/Command/CheckoutCommand.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return 1;
                                      Severity: Major
                                      Found in src/Command/CloneInstanceCommand.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $answer;
                                        Severity: Major
                                        Found in src/Command/CheckoutCommand.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language