Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Resolves deprecation warnings on elixir 1.17 #10

Merged
merged 9 commits into from
Jul 10, 2024

Conversation

PaulOstazeski
Copy link

@PaulOstazeski PaulOstazeski commented Jul 10, 2024

This is a copy of ateliware#95 - resolving deprecations related to upgrading to elixir 1.17

The error messages in these tests were more verbose, echoing back the
original query. Rather than expand the expected string, matching on the
more relevant portion of the observed string (including the error codes)
seemed more tenable.

I'm also uncertain if the version (or a setting) of mysql may impact the
verbosity of the returned error message.
* Logger has changed "warn" to "warning" level
* "module.__function__" now outputs a warning message about implicit
  function calls, suggests using "module.__function__()"
* Exception.exception?/1 replaced by Kernel.is_exception/1
* Regex.regex?/1 replaced by Kernel.is_struct/2
* Some ecto callbacks take different numbers of parameters, so
  TestAdapter no-op function implementations updated.
Regenerate credo config, keeping opted-in checks, using very slightly
relaxed parameters for duplicated code and nesting (both 3 over defaults
of 2).
@PaulOstazeski PaulOstazeski merged commit fb630e0 into Allovue:master Jul 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant