Skip to content

Instantly share code, notes, and snippets.

@ijunaid8989
Created April 24, 2023 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijunaid8989/94fc39d26be6c814462d4a96dc14b56d to your computer and use it in GitHub Desktop.
Save ijunaid8989/94fc39d26be6c814462d4a96dc14b56d to your computer and use it in GitHub Desktop.
warning: variable "seeker_company" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/credit/agreement_text.ex:156: NectarineCredit.Credit.AgreementText.personal_guarantee_title_template/1
warning: redefining @doc attribute previously set at line 10.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example:
@doc """
new docs
"""
def handle_mutation_event(...)
lib/nectarine_credit_api/listeners/historic_transactions_listener.ex:24: NectarineCredit.Listeners.HistoricTransactionsListener.handle_mutation_event/1
warning: variable "headers" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/file_upload.ex:44: NectarineCredit.External.FileUpload.get_raw_object/2
warning: unused alias Financials
lib/nectarine_credit_api/credit/agreement_text.ex:7
warning: unused alias Repo
lib/nectarine_credit_api/credit/agreement_text.ex:2
warning: unused alias StoredFile
lib/nectarine_credit_api/credit/agreement_text.ex:5
warning: ^^^ is deprecated. It is typically used as xor but it has the wrong precedence, use Bitwise.bxor/2 instead
lib/nectarine_credit_api_web/plugs/webhook_auth.ex:157
warning: variable "error" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/plugs/webhook_auth.ex:53: NectarineCreditWeb.Plug.WebhookAuth.Stripe.call/2
warning: variable "user" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/organization.ex:56: NectarineCreditWeb.Resolvers.Organization.get_or_create_vendor/1
warning: variable "current_user" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/credit.ex:153: NectarineCreditWeb.Resolvers.Credit.delete_customer/3
warning: variable "token" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/credit.ex:207: NectarineCreditWeb.Resolvers.Credit.is_credit_safe_credentials_still_valid/3
warning: variable "token" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/credit.ex:322: NectarineCreditWeb.Resolvers.Credit.is_experian_credentials_still_valid/3
warning: variable "subcode" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/credit.ex:312: NectarineCreditWeb.Resolvers.Credit.is_experian_credentials_still_valid/3
warning: variable "user" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/credit.ex:393: NectarineCreditWeb.Resolvers.Credit.get_or_create_vendor/1
warning: variable "equifax_client_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/equifax/client.ex:9: NectarineCredit.External.Equifax.Client.get_auth_token/1
warning: variable "credentials" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/equifax/client.ex:40: NectarineCredit.External.Equifax.Client.company_search/2
warning: variable "search_params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/equifax/client.ex:40: NectarineCredit.External.Equifax.Client.company_search/2
warning: variable "message" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/equifax/client.ex:44: NectarineCredit.External.Equifax.Client.handle_response/1
warning: function auth_headers/1 is unused
lib/nectarine_credit_api/external/equifax/client.ex:80
warning: variable "experian_client_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:73: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "experian_client_secret" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:74: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "password" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:72: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "username" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:71: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "experian_client_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:91: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "experian_client_secret" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:92: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "password" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:90: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "username" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:89: NectarineCredit.External.Experian.Client.request_report/4
warning: variable "request_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:128: NectarineCredit.External.Experian.Client.request_experian_report/3
warning: variable "success" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:128: NectarineCredit.External.Experian.Client.request_experian_report/3
warning: variable "message" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/experian/client.ex:142: NectarineCredit.External.Experian.Client.handle_response/1
warning: variable "err" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/plugs/webhook_auth.ex:299: NectarineCreditWeb.Plug.WebhookAuth.FinicityCheckTxSignature.call/2
warning: variable "customer_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/listeners/tx_push_listener.ex:36: NectarineCredit.Listeners.TxPushListener.handle_mutation_event/1
warning: redefining @doc attribute previously set at line 10.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example:
@doc """
new docs
"""
def handle_mutation_event(...)
lib/nectarine_credit_api/listeners/tx_push_listener.ex:27: NectarineCredit.Listeners.TxPushListener.handle_mutation_event/1
warning: variable "options" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/agreement_controller.ex:45: NectarineCreditWeb.AgreementController.pdf_render/2
warning: variable "params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:70: NectarineCreditWeb.WebHookController.stripe_webhook/2
warning: variable "params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:80: NectarineCreditWeb.WebHookController.eversign_webhook/2
warning: variable "params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:91: NectarineCreditWeb.WebHookController.eversign_webhook/2
warning: variable "params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:102: NectarineCreditWeb.WebHookController.eversign_webhook/2
warning: variable "params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:117: NectarineCreditWeb.WebHookController.eversign_webhook/2
warning: variable "params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:164: NectarineCreditWeb.WebHookController.finicity_webhook/2
warning: variable "params" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:216: NectarineCreditWeb.WebHookController.finicity_txpush_webhook/2
warning: redefining @doc attribute previously set at line 21.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example:
@doc """
new docs
"""
def handle_mutation_event(...)
lib/nectarine_credit_api/listeners/email_listener.ex:39: NectarineCredit.Listeners.EmailListener.handle_mutation_event/1
warning: redefining @doc attribute previously set at line 21.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example:
@doc """
new docs
"""
def handle_mutation_event(...)
lib/nectarine_credit_api/listeners/email_listener.ex:48: NectarineCredit.Listeners.EmailListener.handle_mutation_event/1
warning: redefining @doc attribute previously set at line 21.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example:
@doc """
new docs
"""
def handle_mutation_event(...)
lib/nectarine_credit_api/listeners/email_listener.ex:57: NectarineCredit.Listeners.EmailListener.handle_mutation_event/1
warning: variable "tail" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/listeners/email_listener.ex:151: NectarineCredit.Listeners.EmailListener.trigger_vendor_reference_complete/1
warning: unused alias Accounts
lib/nectarine_credit_api/listeners/email_listener.ex:9
warning: unused alias FileUpload
lib/nectarine_credit_api/communication/email_threads.ex:2
warning: unused alias VendorReference
lib/nectarine_credit_api/communication/email_threads.ex:2
warning: variable "endpoint" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/credit_safe/client.ex:46: NectarineCredit.External.CreditSafe.Client.request_report/3
warning: variable "retry" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/eversign.ex:90: NectarineCredit.External.Eversign.handle_error/1
warning: variable "retry" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/eversign.ex:106: NectarineCredit.External.Eversign.handle_error/1
warning: unused alias Finicity
lib/nectarine_credit_api/external/credit_safe/client.ex:4
warning: unused alias Credit
lib/nectarine_credit_api/external/eversign.ex:11
warning: module attribute @desc was set but never used
lib/nectarine_credit_api_web/resolvers/credit.ex:400
warning: variable "last_updated" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/finicity/auth_token_service.ex:15: NectarineCredit.External.Finicity.AuthTokenService.init/1
warning: variable "token" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/finicity/auth_token_service.ex:15: NectarineCredit.External.Finicity.AuthTokenService.init/1
warning: variable "token" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external/finicity/auth_token_service.ex:35: NectarineCredit.External.Finicity.AuthTokenService.handle_info/2
warning: variable "customer_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/listeners/additional_account_info_listener.ex:33: NectarineCredit.Listeners.AdditionalAccountInfoListener.handle_mutation_event/1
warning: redefining @doc attribute previously set at line 10.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example:
@doc """
new docs
"""
def handle_mutation_event(...)
lib/nectarine_credit_api/listeners/additional_account_info_listener.ex:24: NectarineCredit.Listeners.AdditionalAccountInfoListener.handle_mutation_event/1
warning: variable "token" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/accounts.ex:204: NectarineCredit.Accounts.user_from_claim/2
warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/accounts.ex:262: NectarineCredit.Accounts.upsert_user_from_auth0/1
warning: variable "email" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/accounts.ex:477: NectarineCredit.Accounts.update_user_email/2
warning: this clause cannot match because a previous clause at line 1 always matches
lib/nectarine_credit_api_web/schema/types/organization_types.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/nectarine_credit_api_web/schema/types/organization_types.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/nectarine_credit_api_web/schema/types/organization_types.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/nectarine_credit_api_web/schema/types/organization_types.ex:1
warning: unused alias FileUpload
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:15
warning: unused alias Payments
lib/nectarine_credit_api/accounts.ex:18
warning: unused alias Util
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:29
warning: def send_seeker_status_change/6 has multiple clauses and also declares default values. In such cases, the default values should be defined in a header. Instead of:
def foo(:first_clause, b \\ :default) do ... end
def foo(:second_clause, b) do ... end
one should write:
def foo(a, b \\ :default)
def foo(:first_clause, b) do ... end
def foo(:second_clause, b) do ... end
lib/nectarine_credit_api/communication/mailer.ex:329
warning: variable "cp_company_personnel_name" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/communication/mailer.ex:642: NectarineCredit.Communication.Mailer.send_vendor_reference_reminder_email_to_cs/15
warning: variable "cp_company_personnel_name" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/communication/mailer.ex:685: NectarineCredit.Communication.Mailer.send_vendor_reference_adding_email_to_cs/9
warning: default values for the optional arguments in apply_default_variables_with_provider/3 are never used
lib/nectarine_credit_api/communication/mailer.ex:67
warning: code block contains unused literal "Encodes `enumerable` into a query string\n\n## Examples\n iex> query = %{\"foo\" => 1, \"bar\" => 2}\n iex> encode_query(query)\n \"bar=2&foo=1\"\n iex> query = %{\"key\" => \"value with spaces\"}\n iex> encode_query(query)\n \"key=value+with+spaces\"\n iex> query = %{\"key\" => \"value with spaces\"}\n iex> encode_query(query, :rfc3986)\n \"key=value%20with%20spaces\"\n iex> encode_query(%{key: %{\"a\" => \"list\"}})\n \"key[a]=list\"\n" (remove the literal or assign it to _ to avoid warnings)
lib/nectarine_credit_api/util.ex: NectarineCredit.Util
warning: variable "x" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:172: NectarineCredit.Util.non_nil_keys/1
warning: variable "k" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:185: NectarineCredit.Util.map_to_value_list/1
warning: variable "decimals" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:241: NectarineCredit.Util.Decimal.min/1
warning: variable "decimals" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:244: NectarineCredit.Util.Decimal.max/1
warning: variable "decimals" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:249: NectarineCredit.Util.Decimal.sum/1
warning: variable "decimals" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:258: NectarineCredit.Util.Decimal.average/1
warning: variable "initial_balance_date" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/financials/calculations.ex:101: NectarineCredit.Financials.Calculations.calculate_previous_balances/1
warning: variable "anchor_date" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/billing.ex:115: NectarineCredit.Billing.get_quota_range_from_billing_anchor/2
warning: def get_quota_range_from_billing_anchor/2 has multiple clauses and also declares default values. In such cases, the default values should be defined in a header. Instead of:
def foo(:first_clause, b \\ :default) do ... end
def foo(:second_clause, b) do ... end
one should write:
def foo(a, b \\ :default)
def foo(:first_clause, b) do ... end
def foo(:second_clause, b) do ... end
lib/nectarine_credit_api/billing.ex:117
warning: variable "allowed_status_changes" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/credit/application.ex:128: NectarineCredit.Credit.Application.is_status_change_allowed?/3
warning: unused alias FinicityAccountProjection
lib/nectarine_credit_api/financials/finicity_account.ex:13
warning: unused alias Mailer
lib/nectarine_credit_api/identities/identities.ex:14
warning: unused import EctoEnum
lib/nectarine_credit_api/financials/finicity_account_projection.ex:5
warning: variable "user_company_data" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/organization.ex:167: NectarineCredit.Organization.create_company_for_user/3
warning: def upsert_transactions/2 has multiple clauses and also declares default values. In such cases, the default values should be defined in a header. Instead of:
def foo(:first_clause, b \\ :default) do ... end
def foo(:second_clause, b) do ... end
one should write:
def foo(a, b \\ :default)
def foo(:first_clause, b) do ... end
def foo(:second_clause, b) do ... end
lib/nectarine_credit_api/financials.ex:789
warning: variable "num_of_updated" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/organization.ex:641: NectarineCredit.Organization.unblock_referrals/1
warning: variable "company_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/organization.ex:661: NectarineCredit.Organization.remind_vendor/1
warning: variable "company_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/organization.ex:697: NectarineCredit.Organization.request_another_vendor/3
warning: variable "current_user" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/organization.ex:691: NectarineCredit.Organization.request_another_vendor/3
warning: unused alias Company
lib/nectarine_credit_api/financials/manual_account_note.ex:8
warning: variable "assigns" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/plugs/sentry_context.ex:10: NectarineCreditWeb.Plugs.SentryContext.call/2
warning: unused alias User
lib/nectarine_credit_api_web/resolvers/communication.ex:2
warning: unused import Plug.Conn
lib/nectarine_credit_api_web/plugs/sentry_context.ex:6
warning: variable "domain" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk/domain_util.ex:64: NectarineCredit.Risk.DomainUtil.get_canonical_domain/1
warning: variable "apivoid_parked_domain_endpoint" does not exist and is being expanded to "apivoid_parked_domain_endpoint()", please use parentheses to remove the ambiguity or change the variable name
lib/nectarine_credit_api/risk/domain_util.ex:125: NectarineCredit.Risk.DomainUtil.check_if_parked/1
warning: variable "apivoid_key" does not exist and is being expanded to "apivoid_key()", please use parentheses to remove the ambiguity or change the variable name
lib/nectarine_credit_api/risk/domain_util.ex:125: NectarineCredit.Risk.DomainUtil.check_if_parked/1
warning: variable "scheme" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk/domain_util.ex:123: NectarineCredit.Risk.DomainUtil.check_if_parked/1
warning: variable "apivoid_domain_age_endpoint" does not exist and is being expanded to "apivoid_domain_age_endpoint()", please use parentheses to remove the ambiguity or change the variable name
lib/nectarine_credit_api/risk/domain_util.ex:141: NectarineCredit.Risk.DomainUtil.get_domain_age/1
warning: variable "payload" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/listeners/agreement_listener.ex:22: NectarineCredit.Listeners.AgreementListener.handle_mutation_event/1
warning: variable "apivoid_key" does not exist and is being expanded to "apivoid_key()", please use parentheses to remove the ambiguity or change the variable name
lib/nectarine_credit_api/risk/domain_util.ex:141: NectarineCredit.Risk.DomainUtil.get_domain_age/1
warning: variable "scheme" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk/domain_util.ex:139: NectarineCredit.Risk.DomainUtil.get_domain_age/1
warning: variable "a_records_found" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk/domain_util.ex:182: NectarineCredit.Risk.DomainUtil.get_domain_properties/1
warning: variable "domain_age_found" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk/domain_util.ex:188: NectarineCredit.Risk.DomainUtil.get_domain_properties/1
warning: variable "scheme" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk/domain_util.ex:166: NectarineCredit.Risk.DomainUtil.get_domain_properties/1
warning: variable "application" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/credit.ex:476: NectarineCredit.Credit.get_active_agreement/3
warning: clauses with the same name and arity (number of arguments) should be grouped together, "def trigger_status_update_emails/4" was previously defined (lib/nectarine_credit_api/credit.ex:1273)
lib/nectarine_credit_api/credit.ex:1374
warning: variable "customer" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/credit.ex:1414: NectarineCredit.Credit.provider_new_application/3
warning: unused alias Credit
lib/nectarine_credit_api/financials.ex:12
warning: variable "cp_company_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/communication.ex:203: NectarineCredit.Communication.send_vendor_reference_referral_follow_up/1
warning: def signed_url/2 has multiple clauses and also declares default values. In such cases, the default values should be defined in a header. Instead of:
def foo(:first_clause, b \\ :default) do ... end
def foo(:second_clause, b) do ... end
one should write:
def foo(a, b \\ :default)
def foo(:first_clause, b) do ... end
def foo(:second_clause, b) do ... end
lib/nectarine_credit_api/external/stored_file.ex:63
warning: clauses with the same name and arity (number of arguments) should be grouped together, "def signed_url/2" was previously defined (lib/nectarine_credit_api/external/stored_file.ex:55)
lib/nectarine_credit_api/external/stored_file.ex:63
warning: unused alias ERApplication
lib/nectarine_credit_api/credit.ex:29
warning: variable "key" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:106: NectarineCredit.Risk.get_stakeholder_emails/1
warning: variable "tail" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:185: NectarineCredit.Risk.store_domain_properties/3
warning: variable "email_tail" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:176: NectarineCredit.Risk.store_domain_properties/3
warning: variable "trigger_domain_age" does not exist and is being expanded to "trigger_domain_age()", please use parentheses to remove the ambiguity or change the variable name
lib/nectarine_credit_api/risk.ex:258: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "canonical_domain" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:226: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "domain" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:222: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "domain_registered" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:228: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "tail" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:219: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "trigger_domain_age" does not exist and is being expanded to "trigger_domain_age()", please use parentheses to remove the ambiguity or change the variable name
lib/nectarine_credit_api/risk.ex:312: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "canonical_domain" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:280: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "domain" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)
lib/nectarine_credit_api/risk.ex:276: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "domain_registered" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/risk.ex:282: NectarineCredit.Risk.check_risk_in_domains/2
warning: variable "path" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external.ex:248: NectarineCredit.External.get_signed_file_by_appliation_id/1
warning: variable "customer_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external.ex:329: NectarineCredit.External.generate_eversign_agreement/5
warning: variable "customer_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/external.ex:400: NectarineCredit.External.generate_eversign_agreement_with_presaved_files/5
warning: unused import EctoEnum
lib/nectarine_credit_api/organization/company.ex:4
warning: function match_current_user_email_with_stakeholder/2 is unused
lib/nectarine_credit_api/risk.ex:133
warning: function match_signer_email_with_stakeholder/2 is unused
lib/nectarine_credit_api/risk.ex:121
warning: this clause for get_referral!/1 cannot match because a previous clause at line 448 always matches
lib/nectarine_credit_api/organization.ex:449
warning: unused alias Util
lib/nectarine_credit_api/external.ex:19
warning: NectarineCredit.Credit.create_customer_and_app/4 is deprecated. Use create_customer_and_app/1
lib/nectarine_credit_api/onboarding.ex:173: NectarineCredit.Onboarding.onboard_seeker_credit/2
warning: NectarineCredit.Credit.create_customer_and_app_from_ref/4 is deprecated. Use create_customer_and_app/1
lib/nectarine_credit_api/onboarding.ex:118: NectarineCredit.Onboarding.onboard_seeker_credit/2
warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
lib/nectarine_credit_api/listeners/agreement_listener.ex:5: NectarineCredit.Listeners.AgreementListener.child_spec/1
warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
lib/nectarine_credit_api/listeners/tx_push_listener.ex:6: NectarineCredit.Listeners.TxPushListener.child_spec/1
warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
lib/nectarine_credit_api/listeners/historic_transactions_listener.ex:6: NectarineCredit.Listeners.HistoricTransactionsListener.child_spec/1
warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
lib/nectarine_credit_api/listeners/email_listener.ex:5: NectarineCredit.Listeners.EmailListener.child_spec/1
warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
lib/nectarine_credit_api/listeners/additional_account_info_listener.ex:6: NectarineCredit.Listeners.AdditionalAccountInfoListener.child_spec/1
warning: NectarineCredit.Credit.get_vr_custom_field_answer_by_name/3 is deprecated. Use get_vr_custom_field_answer_by_name/2
Found at 3 locations:
lib/nectarine_credit_api_web/schema/types/credit_types.ex:347: NectarineCreditWeb.Schema.Types.CreditTypes.__absinthe_function__/2
lib/nectarine_credit_api_web/schema/types/credit_types.ex:354: NectarineCreditWeb.Schema.Types.CreditTypes.__absinthe_function__/2
lib/nectarine_credit_api_web/schema/types/credit_types.ex:360: NectarineCreditWeb.Schema.Types.CreditTypes.__absinthe_function__/2
Generated nectarine_credit_api app
[info] :alarm_handler: {:set, {{:disk_almost_full, '/'}, []}}
[info] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
[debug] Starting Elixir.NectarineCredit.Listeners.HistoricTransactionsListener with channel subscription: pg_mutations
[debug] Starting Elixir.NectarineCredit.Listeners.EmailListener with channel subscription: pg_mutations
[debug] Starting Elixir.NectarineCredit.Listeners.AgreementListener with channel subscription: pg_mutations
[debug] Starting Elixir.NectarineCredit.External.Finicity.AuthTokenService
[debug] [:nonode@nohost][Elixir.Quantum.JobBroadcaster] Loading Initial Jobs from Config
Interactive Elixir (1.12.3) - press Ctrl+C to exit (type h() ENTER for help)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment