diff --git a/lib/gitlab/cycle_analytics/base_event.rb b/lib/gitlab/cycle_analytics/base_event.rb
index 254e36215756b25b93e430e9640c4552975a2782..3c43fb24c61ee5876da22c065d19a44d6374c55c 100644
--- a/lib/gitlab/cycle_analytics/base_event.rb
+++ b/lib/gitlab/cycle_analytics/base_event.rb
@@ -10,7 +10,7 @@ module Gitlab
           @order || @start_time_attrs
         end
 
-        def query(base_query); end
+        def query(_base_query); end
 
         def fetch(query)
           query.execute(self).map { |event| serialize(event, query) }
@@ -18,7 +18,7 @@ module Gitlab
 
         private
 
-        def serialize(event, query)
+        def serialize(_event, _query)
           raise NotImplementedError.new("Expected #{self.name} to implement serialize(event)")
         end
       end
diff --git a/lib/gitlab/cycle_analytics/issue_event.rb b/lib/gitlab/cycle_analytics/issue_event.rb
index 9cfcdc9b20e323273a216858aa87768d5085090c..9ae2c48115880abe414370c0141a64552b411f5e 100644
--- a/lib/gitlab/cycle_analytics/issue_event.rb
+++ b/lib/gitlab/cycle_analytics/issue_event.rb
@@ -13,7 +13,7 @@ module Gitlab
                       issue_table[:created_at],
                       issue_table[:author_id]]
 
-      def self.serialize(event, query)
+      def self.serialize(event, query)#
         event['author'] = User.find(event.delete('author_id'))
 
         AnalyticsIssueSerializer.new(project: query.project).represent(event).as_json
diff --git a/lib/gitlab/cycle_analytics/plan_event.rb b/lib/gitlab/cycle_analytics/plan_event.rb
index b8107b062281510fe147fe9da9bfd7facf446838..4980a7835eb2747ad0555dc7f70eb9613541d6dc 100644
--- a/lib/gitlab/cycle_analytics/plan_event.rb
+++ b/lib/gitlab/cycle_analytics/plan_event.rb
@@ -41,4 +41,4 @@ module Gitlab
       end
     end
   end
-end
\ No newline at end of file
+end
diff --git a/lib/gitlab/cycle_analytics/review_event.rb b/lib/gitlab/cycle_analytics/review_event.rb
index dcd138eaa9286958188a894fce133c2c8bcbff9b..82095b23b712dcfa48782fc78565dd96245a0750 100644
--- a/lib/gitlab/cycle_analytics/review_event.rb
+++ b/lib/gitlab/cycle_analytics/review_event.rb
@@ -11,7 +11,7 @@ module Gitlab
                       mr_table[:state],
                       mr_table[:author_id]]
 
-      def self.serialize(event, _query)
+      def self.serialize(event, query)
         event['author'] = User.find(event.delete('author_id'))
 
         AnalyticsMergeRequestSerializer.new(project: query.project).represent(event).as_json
diff --git a/spec/lib/gitlab/cycle_analytics/shared_event_spec.rb b/spec/lib/gitlab/cycle_analytics/shared_event_spec.rb
index b15af783dfbf2bf2d3b5a92b45b9b2059e59a91e..1e76edce633cfb76d7f8ff224afcec8812e281f6 100644
--- a/spec/lib/gitlab/cycle_analytics/shared_event_spec.rb
+++ b/spec/lib/gitlab/cycle_analytics/shared_event_spec.rb
@@ -5,15 +5,15 @@ shared_examples 'default query config' do
     expect(described_class.start_time_attrs).not_to be_nil
   end
 
+  it 'has the stage attribute' do
+    expect(described_class.stage).not_to be_nil
+  end
+
   it 'has the end attributes' do
-    expect(described_class.end_time_attrs ).not_to be_nil
+    expect(described_class.end_time_attrs).not_to be_nil
   end
 
   it 'has the projection attributes' do
     expect(described_class.projections).not_to be_nil
   end
-
-  it 'implements the fetch method' do
-    expect(described_class.fetch).not_to raise_error
-  end
 end