         )
       end
 
-      def params_defaults do
-        unquote(opts[:default_params]) || @default_params
-      end
-
-      def params_names do
-        Keyword.keys(params_defaults())
+      def params_defaults_fallback do
+        # deprecated - remove module attribute
+        unquote(opts[:default_params])
       end
 
       def run_on_all? do

        nil
    end)

    deprecated_default_params_module_attribute =
      if opts[:default_params] do
        quote do

        end
      end

    # deprecated
    deprecated_explanation_module_attribute =
      if opts[:explanation] do
        quote do
          @explanation unquote(opts[:explanation])
        end
      end

    IO.puts("1")

    quote do
      @behaviour Credo.Check
      @before_compile Credo.Check

      # deprecated
      unquote(deprecated_default_params_module_attribute)
      unquote(deprecated_explanation_module_attribute)

      alias Credo.Check
      alias Credo.Check.Params
