Amire80 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/194477

Change subject: Fix Rubocop HashSyntax offenses
......................................................................

Fix Rubocop HashSyntax offenses

Change-Id: Ibf8430cf9230502a905f4e550e4abf805b11c9c5
---
M .rubocop_todo.yml
M tests/browser/features/step_definitions/special_content_translation_steps.rb
2 files changed, 6 insertions(+), 7 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/77/194477/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 773883b..ab7041b 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -17,12 +17,6 @@
 # Offense count: 2
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/HashSyntax:
-  Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
 Style/IndentHash:
   Enabled: false
 
diff --git 
a/tests/browser/features/step_definitions/special_content_translation_steps.rb 
b/tests/browser/features/step_definitions/special_content_translation_steps.rb
index 1d75213..f354880 100644
--- 
a/tests/browser/features/step_definitions/special_content_translation_steps.rb
+++ 
b/tests/browser/features/step_definitions/special_content_translation_steps.rb
@@ -4,7 +4,12 @@
     "English" => "en",
     "Hebrew" => "he",
   }
-  visit(ContentTranslationPage, :using_params => {:extra => 
"page=#{page_name}&lang=#{language_code[target_language]}"})
+  visit(
+    ContentTranslationPage,
+    using_params: {
+      extra: "page=#{page_name}&lang=#{language_code[target_language]}"
+    }
+  )
 end
 
 When(/^I click the link in the notification bubble$/) do

-- 
To view, visit https://gerrit.wikimedia.org/r/194477
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf8430cf9230502a905f4e550e4abf805b11c9c5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to