summaryrefslogtreecommitdiff
path: root/docs/development/API
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-01-29 17:37:52 -0500
committerMark Felder <feld@feld.me>2024-01-29 17:37:52 -0500
commita2664927762f9e34146830cc83940a4db2b071d2 (patch)
tree2005b7a5af3cc04eaff3e70646a8622241da5c39 /docs/development/API
parent2de84e2e3beb5fe74760a3af083109eed00262f0 (diff)
downloadpleroma-a2664927762f9e34146830cc83940a4db2b071d2.tar.gz
pleroma-a2664927762f9e34146830cc83940a4db2b071d2.zip
Pleroma.User: dialyzer errors
lib/pleroma/user.ex:757:no_return Function register_changeset/1 has no local return. ________________________________________________________________________________ lib/pleroma/user.ex:757:no_return Function register_changeset/2 has no local return. ________________________________________________________________________________ lib/pleroma/user.ex:757:no_return Function register_changeset/3 has no local return. ________________________________________________________________________________ lib/pleroma/user.ex:778:call The function call will not succeed. Pleroma.User.approval_changeset( %Ecto.Changeset{ :action => atom(), :changes => %{atom() => _}, :constraints => [ %{ :constraint => binary() | %Regex{ :opts => binary() | [any()], :re_pattern => _, :re_version => _, :source => binary() }, :error_message => binary(), :error_type => atom(), :field => atom(), :match => :exact | :prefix | :suffix, :type => :check | :exclusion | :foreign_key | :unique } ], :data => nil | map(), :empty_values => _, :errors => Keyword.t({binary(), Keyword.t()}), :filters => %{atom() => _}, :params => nil | %{binary() => _}, :prepare => [(_ -> any())], :repo => atom(), :repo_opts => Keyword.t(), :required => [atom()], :types => nil | %{ atom() => atom() | {:array | :assoc | :embed | :in | :map | :maybe | :param, _} | {:parameterized, atom(), _} }, :valid? => boolean(), :validations => Keyword.t() }, [{:set_approval, _}, ...] ) breaks the contract (t(), :elixir.keyword()) :: Ecto.Changeset.t() ________________________________________________________________________________ lib/pleroma/user.ex:854:unused_fun Function maybe_validate_required_birthday/1 will never be called.
Diffstat (limited to 'docs/development/API')
0 files changed, 0 insertions, 0 deletions