biurad/flange

View on GitHub

Showing 181 of 185 total issues

Avoid too many return statements within this method.
Open

                                            return $config;
Severity: Major
Found in src/Extensions/Symfony/HttpClientExtension.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                                        return [$config['host'] => $config['value']];
    Severity: Major
    Found in src/Extensions/Symfony/HttpClientExtension.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                                                  return $config;
      Severity: Major
      Found in src/Extensions/Symfony/HttpClientExtension.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

                  return self::SUCCESS;
          Severity: Major
          Found in src/Commands/CycleORM/DatabaseMigrateCommand.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                                        return $places;
            Severity: Major
            Found in src/Extensions/Symfony/WorkflowExtension.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                                      return $transitions;
              Severity: Major
              Found in src/Extensions/Symfony/WorkflowExtension.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return $this->runBlockingServer($io, $input, $output);
                Severity: Major
                Found in src/Commands/ServerCommand.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                                  return \is_array($config) ? $config : ['base_uri' => $config];
                  Severity: Major
                  Found in src/Extensions/Symfony/HttpClientExtension.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return ChoiceList::value($this, [$options['id_reader'], 'getIdValue'], $options['id_reader']);
                    Severity: Major
                    Found in src/Database/Doctrine/Form/Type/DoctrineType.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return null;
                      Severity: Major
                      Found in src/Database/Doctrine/Form/DoctrineOrmTypeGuesser.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                                                return [$config['key'] => $config['value']];
                        Severity: Major
                        Found in src/Extensions/Symfony/HttpClientExtension.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                                                      return [];
                          Severity: Major
                          Found in src/Extensions/Symfony/HttpClientExtension.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $queryBuilder;
                            Severity: Major
                            Found in src/Database/Doctrine/Form/Type/DoctrineType.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return new ValueGuess(!self::getMappingValue($mapping['joinColumns'][0], 'nullable'), Guess::HIGH_CONFIDENCE);
                              Severity: Major
                              Found in src/Database/Doctrine/Form/DoctrineOrmTypeGuesser.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                                                      return $values;
                                  Severity: Major
                                  Found in src/Extensions/Symfony/WorkflowExtension.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $treeBuilder;
                                    Severity: Major
                                    Found in src/Extensions/Symfony/WorkflowExtension.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                                              return [$config['host'] => $config['value']];
                                      Severity: Major
                                      Found in src/Extensions/Symfony/HttpClientExtension.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return self::SUCCESS;
                                        Severity: Major
                                        Found in src/Commands/ServerCommand.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language