Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

            return UnionType::fromFullyQualifiedPHPDocAndRealString(
                'non-empty-list<string>',
                $is_php8 ? 'non-empty-list<string>' : '?non-empty-list<string>'
            );
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 NullType::instance(false)->asRealUnionType();
    Severity: Major
    Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return ClosureType::instance(false)->asRealUnionType();
      Severity: Major
      Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.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/IssueFixingPlugin/IssueFixer.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return $int_or_string_or_null;
          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 $result;
            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 $probably_real_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 $key_union_type->asListTypes()->withRealTypeSet($nullable_list_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 'Expected a boolean' . self::errSuffixGotType($value);
                  Severity: Major
                  Found in src/Phan/Config.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                        return 'Expected an associative array mapping strings to strings'  . self::errSuffixGotType($value);
                        Severity: Major
                        Found in src/Phan/Config.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return [$parent, true];
                          Severity: Major
                          Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/UseReturnValueVisitor.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $string_union_type_with_false_in_real;
                            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 false;
                                Severity: Major
                                Found in src/Phan/Plugin/Internal/IssueFixingPlugin/IssueFixer.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return $closure_types->withRealType(ClosureType::instance(false));
                                  Severity: Major
                                  Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return $key_type->withType($false_type)->withRealTypeSet($int_or_string_or_false->getTypeSet());
                                    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 $probably_real_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 $mixed_type->asPHPDocUnionType();
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language