diff --git a/lib/rubocop/cop/style/yoda_condition.rb b/lib/rubocop/cop/style/yoda_condition.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/style/yoda_condition.rb
+++ b/lib/rubocop/cop/style/yoda_condition.rb
@@ -28,7 +28,7 @@ module RuboCop
           '<=' => '>=',
           '>' => '<',
           '>=' => '<='
-        }
+        }.freeze
 
         def on_send(node)
           return unless yoda_condition?(node)
Freeze constant in `Style/YodaCondition` cop