       end
 
       def explanation do
+        # deprecated - remove module attribute
         Check.explanation_for(unquote(opts[:explanation]) || @explanation, :check)
       end
 
       def explanation_for_params do
+        # deprecated - remove module attribute
         Check.explanation_for(unquote(opts[:explanation]) || @explanation, :params) || []
       end
 

        end
      end

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

      unquote(deprecated_default_params_module_attribute)

      alias Credo.Check
      alias Credo.Check.Params

        nil
    end)

    # deprecated
    deprecated_default_params_module_attribute =
      if opts[:default_params] do
        quote do
