class RuboCop::Cop::Sorbet::AllowIncompatibleOverride
def on_send(node)
def on_send(node) return unless allow_incompatible_override?(node) add_offense( node.children[2], message: 'Usage of `allow_incompatible` suggests a violation of the Liskov Substitution Principle. '\ 'Instead, strive to write interfaces which respect subtyping principles and remove `allow_incompatible`', ) end