Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return self::_IS_REASONABLE_CONDITION;
Avoid too many return
statements within this method. Open
Open
return self::_IS_REASONABLE_CONDITION;
Avoid too many return
statements within this method. Open
Open
return $union_type->floatTypes()->isEqualTo($union_type);
Avoid too many return
statements within this method. Open
Open
return $this->analyzePropAssignmentTarget($node);
Avoid too many return
statements within this method. Open
Open
return $node->kind !== \ast\AST_ECHO || !is_string($node->children['expr']);
Avoid too many return
statements within this method. Open
Open
return $make_first_arg_checker(static function (UnionType $union_type) use ($condition): int {
if (!$union_type->containsNullableOrUndefined() && $condition($union_type)) {
return self::_IS_REDUNDANT;
}
return self::_IS_REASONABLE_CONDITION;
Avoid too many return
statements within this method. Open
Open
return self::_IS_REASONABLE_CONDITION;
Avoid too many return
statements within this method. Open
Open
return $this->analyzeDimAssignmentTarget($node);
Avoid too many return
statements within this method. Open
Open
return self::_IS_IMPOSSIBLE;
Avoid too many return
statements within this method. Open
Open
return self::_IS_IMPOSSIBLE;
Avoid too many return
statements within this method. Open
Open
return $union_type->intTypes()->isEqualTo($union_type);
Avoid too many return
statements within this method. Open
Open
return self::_IS_IMPOSSIBLE;
Avoid too many return
statements within this method. Open
Open
return self::_IS_REASONABLE_CONDITION;
Avoid too many return
statements within this method. Open
Open
return $union_type->isExclusivelyBoolTypes();
Avoid too many return
statements within this method. Open
Open
return self::_IS_REDUNDANT;
Avoid too many return
statements within this method. Open
Open
return [
// 'is_a' => $is_a_callback,
'is_array' => $array_callback,
'is_bool' => $bool_callback,
'is_callable' => $callable_callback,
Avoid too many return
statements within this method. Open
Open
return self::_IS_IMPOSSIBLE;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return self::_IS_REDUNDANT;
Avoid too many return
statements within this method. Open
Open
return $result;