报告引用类的包含调用(includeprependextend)。 包含调用只能引用模块或接口。

可以通过快速修复移除不正确的包含调用。

示例:

class Example
  # 在 'include' 调用中使用 'Object' 类
  include Object
end

在应用快速修复后:

class Example
end