lib/reek/smells/feature_envy.rb in reek-3.11 vs lib/reek/smells/feature_envy.rb in reek-4.0.0.pre1

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true require_relative 'smell_detector' require_relative 'smell_warning' module Reek module Smells @@ -33,13 +34,9 @@ # If the method doesn't reference self at all, +UtilityFunction+ is # reported instead. # # See {file:docs/Feature-Envy.md} for details. class FeatureEnvy < SmellDetector - def self.smell_category - 'LowCohesion' - end - # # Checks whether the given +context+ includes any code fragment that # might "belong" on another class. # # @return [Array<SmellWarning>]