Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

                return $real_nullable_array;
Severity: Major
Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return $json_decode_object_types;
    Severity: Major
    Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $string_or_false;
      Severity: Major
      Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return $result_types->withRealTypeSet($nullable_array_type_set);
        Severity: Major
        Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return Type::fromObject($result)->asPHPDocUnionType();
          Severity: Major
          Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                            return false;
            Severity: Major
            Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return StringType::instance(false)->asRealUnionType();
              Severity: Major
              Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return $key_type->withType($null_type)->withRealTypeSet($int_or_string_or_null->getRealTypeSet());
                Severity: Major
                Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return UnionType::fromFullyQualifiedRealString('?array');
                  Severity: Major
                  Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return $false_type->asPHPDocUnionType();
                    Severity: Major
                    Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return;
                      Severity: Major
                      Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return $left;
                        Severity: Major
                        Found in src/Phan/Plugin/Internal/RedundantConditionVisitor.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return [];
                          Severity: Major
                          Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return false;
                            Severity: Major
                            Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                      return false;
                              Severity: Major
                              Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return;
                                Severity: Major
                                Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                          return $result ?: [$class::fromElementType(MixedType::instance(false), $type->isNullable(), $type->getKeyType())];
                                  Severity: Major
                                  Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return [$type];
                                    Severity: Major
                                    Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return $left_flags + $right_flags;
                                      Severity: Major
                                      Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return \is_string($name) && \strcasecmp($name, $const_name) === 0;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/UseReturnValueVisitor.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language