Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

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

      Avoid too many return statements within this method.
      Open

              return $possible_return_nodes;
      Severity: Major
      Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/RedundantReturnVisitor.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/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                            return LiteralIntType::instanceForValue(2, 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 $has_array ? $str_replace_types : $string_union_type;
              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 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 $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 LiteralIntType::instanceForValue(count($arg->getFieldTypes()), 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 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 $type->hasKnownFQSEN();
                        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 $element_types;
                          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 $int_or_string_or_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 $element_types->asNonEmptyGenericArrayTypes($key_type_enum);
                              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;
                                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 $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 70400;
                                    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 array' . 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;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/PhantasmPlugin/PhantasmVisitor.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language