deployphp/deployer

View on GitHub

Showing 201 of 201 total issues

Avoid too many return statements within this method.
Open

            return new Client($c['output'], $c['pop'], $c['logger']);
Severity: Major
Found in src/Deployer.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return new Server(
                    $c['output'],
                    $this,
                );
    Severity: Major
    Found in src/Deployer.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return "$colors[14]$alias\x1b[0m";
      Severity: Major
      Found in src/Support/helpers.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return new Collection();
        Severity: Major
        Found in src/Deployer.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return !empty($this['log'])
                          ? new FileHandler($this['log'])
                          : new NullHandler();
          Severity: Major
          Found in src/Deployer.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return "$tag$alias\x1b[0m";
            Severity: Major
            Found in src/Support/helpers.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return new Rsync($c['pop'], $c['output']);
              Severity: Major
              Found in src/Deployer.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return null;
                Severity: Major
                Found in src/Documentation/DocGen.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                              return $r->tasks[$name];
                  Severity: Major
                  Found in src/Documentation/DocGen.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return self::GREATER_THAN;
                    Severity: Major
                    Found in src/Component/PharUpdate/Version/Comparator.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return 'bash -s'; // Non-login shell for localhost.
                      Severity: Major
                      Found in src/Deployer.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return 'bash -ls';
                        Severity: Major
                        Found in src/Deployer.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return new Printer($c['output']);
                          Severity: Major
                          Found in src/Deployer.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $this->parse($default);
                            Severity: Major
                            Found in src/Configuration/Configuration.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return new TaskCollection();
                              Severity: Major
                              Found in src/Deployer.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return null;
                                Severity: Major
                                Found in src/Documentation/DocGen.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return null;
                                  Severity: Major
                                  Found in src/Documentation/DocGen.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return self::LESS_THAN;
                                    Severity: Major
                                    Found in src/Component/PharUpdate/Version/Comparator.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                              return "{{" . $name . "}}";
                                      Severity: Major
                                      Found in src/Documentation/DocGen.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return '-vvv';
                                        Severity: Major
                                        Found in src/Component/Ssh/IOArguments.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language