Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

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

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

                return [
                    // 'is_a' => $is_a_callback,
                    'is_array' => $array_callback,
                    'is_bool' => $bool_callback,
                    'is_callable' => $callable_callback,
        Severity: Major
        Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                    return true;
            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 self::_IS_REDUNDANT;
              Severity: Major
              Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.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/LoopVariableReuseVisitor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

                            return $this->scope;
                    Severity: Major
                    Found in src/Phan/Plugin/Internal/VariableTracker/VariableTrackerVisitor.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                          return $type->isNull();
                      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 self::_IS_REASONABLE_CONDITION;
                        Severity: Major
                        Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

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

                            Avoid too many return statements within this method.
                            Open

                                                return $type instanceof ArrayShapeType;
                            Severity: Major
                            Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return \unserialize($contents);
                              Severity: Major
                              Found in src/Phan/Library/DiskCache.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                                  return;
                                      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 self::_IS_REASONABLE_CONDITION;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language