   end
 
   def traverse(
-        ast =
-          {:|>, meta,
-           [
-             {:|>, _,
-              [
-                _,
-                {{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _}
-              ]},
-             {{:., _, [{:__aliases__, _, [:Enum]}, second]}, _, _}
-           ]},
+        {:|>, meta,
+         [
+           {:|>, _,
+            [
+              _,
+              {{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _}
+            ]},
+           {{:., _, [{:__aliases__, _, [:Enum]}, second]}, _, _}
+         ]} = ast,
         issues,
         issue_meta,
         message,

  end

  def traverse(
        ast =
          {{:., meta, [{:__aliases__, _, [:Enum]}, second]}, _,
           [
             {:|>, _, [_, {{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _}]},
             _
           ]},
        issues,
        issue_meta,
        message,

defmodule Credo.Check.Refactor.EnumHelpers do
  def traverse(
        {{:., _, [{:__aliases__, meta, [:Enum]}, second]}, _,
         [{{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _}, _]} = ast,
        issues,
        issue_meta,
        message,
