Skip to content

Instantly share code, notes, and snippets.

@ijunaid8989
Created January 11, 2023 11:35
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/be4655fcdf508d4072bcd30fc9a3ae09 to your computer and use it in GitHub Desktop.
Save ijunaid8989/be4655fcdf508d4072bcd30fc9a3ae09 to your computer and use it in GitHub Desktop.
==> nectarine_credit_api
Compiling 127 files (.ex)
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:8: NectarineCreditWeb.Plugs.SentryContext.call/2
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 "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: unused import Plug.Conn
lib/nectarine_credit_api_web/plugs/sentry_context.ex:4
warning: unused alias Finicity
lib/nectarine_credit_api/external/credit_safe/client.ex:4
warning: unused alias User
lib/nectarine_credit_api_web/resolvers/communication.ex:2
warning: the default value for the first optional argument in apply_default_variables/2 is never used
lib/nectarine_credit_api/communication/mailer.ex:49
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:
@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 "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:56: 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:107: 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:107: 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:106: 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:120: NectarineCredit.Risk.DomainUtil.get_domain_age/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:120: 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:119: 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:144: 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:149: 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:133: NectarineCredit.Risk.DomainUtil.get_domain_properties/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:
@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:
@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:
@doc """
new docs
"""
def handle_mutation_event(...)
lib/nectarine_credit_api/listeners/email_listener.ex:57: NectarineCredit.Listeners.EmailListener.handle_mutation_event/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: 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 Accounts
lib/nectarine_credit_api/listeners/email_listener.ex:9
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: 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/external.ex:14: NectarineCreditWeb.Resolvers.External.delete_file/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_web/resolvers/external.ex:21: NectarineCreditWeb.Resolvers.External.update_stored_file_name/3
warning: function auth_headers/1 is unused
lib/nectarine_credit_api/external/equifax/client.ex:80
warning: unused alias Company
lib/nectarine_credit_api_web/resolvers/external.ex:4
warning: unused alias User
lib/nectarine_credit_api_web/resolvers/external.ex:2
warning: variable "index" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/credit/agreement_text.ex:209: NectarineCredit.Credit.AgreementText.manual_account_metadata_template/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 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: unused alias CompanyDocument
lib/nectarine_credit_api/external.ex:10
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:58: NectarineCreditWeb.Resolvers.Organization.get_or_create_vendor/1
warning: unused alias Company
lib/nectarine_credit_api_web/resolvers/organization.ex:10
warning: unused alias UnauthUser
lib/nectarine_credit_api_web/resolvers/organization.ex:4
warning: unused alias User
lib/nectarine_credit_api_web/resolvers/organization.ex: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/onboard.ex:39: NectarineCreditWeb.Resolvers.Onboard.get_or_create_vendor/1
warning: variable "stakeholders_data" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/onboard.ex:64: NectarineCreditWeb.Resolvers.Onboard.onboard_credit_seeker/3
warning: variable "stakeholders" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api_web/resolvers/onboard.ex:284: NectarineCreditWeb.Resolvers.Onboard.update_onboard_data/3
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:148: NectarineCredit.Organization.create_company_for_user/3
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:96: 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:159: 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:152: 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:200: 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:184: 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:180: 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:186: 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:179: 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:226: 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:210: 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:206: 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:212: NectarineCredit.Risk.check_risk_in_domains/2
warning: unused alias User
lib/nectarine_credit_api_web/resolvers/onboard.ex:3
warning: function match_current_user_email_with_stakeholder/2 is unused
lib/nectarine_credit_api/risk.ex:122
warning: function match_signer_email_with_stakeholder/2 is unused
lib/nectarine_credit_api/risk.ex:111
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:147: NectarineCredit.Util.non_nil_keys/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: variable "k" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:160: NectarineCredit.Util.map_to_value_list/1
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 "decimals" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/util.ex:179: 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:182: 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:187: 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:196: NectarineCredit.Util.Decimal.average/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: 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:137: NectarineCredit.External.Experian.Client.handle_response/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:
@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: unused alias Payments
lib/nectarine_credit_api/accounts.ex:18
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 "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:
@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 "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:120: 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:168: 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:283: 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:273: 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:354: NectarineCreditWeb.Resolvers.Credit.get_or_create_vendor/1
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:51: NectarineCreditWeb.Plug.WebhookAuth.Stripe.call/2
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: module attribute @desc was set but never used
lib/nectarine_credit_api_web/resolvers/credit.ex:361
warning: unused alias Customer
lib/nectarine_credit_api_web/resolvers/credit.ex:3
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:554: NectarineCredit.Organization.unblock_referrals/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:234: NectarineCreditWeb.Plug.WebhookAuth.FinicityCheckTxSignature.call/2
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:44: 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:68: 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:78: 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:89: 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:100: 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:115: 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:162: 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:214: NectarineCreditWeb.WebHookController.finicity_txpush_webhook/2
warning: unused alias FileUpload
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:14
warning: unused alias Util
lib/nectarine_credit_api_web/controllers/webhook_controller.ex:27
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:107: NectarineCredit.Credit.Application.is_status_change_allowed?/3
warning: unused alias Company
lib/nectarine_credit_api/financials/manual_account_note.ex:8
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: this clause for get_referral!/1 cannot match because a previous clause at line 425 always matches
lib/nectarine_credit_api/organization.ex:426
warning: unused alias Billing
lib/nectarine_credit_api/organization.ex:13
warning: unused alias FinicityAccountProjection
lib/nectarine_credit_api/financials/finicity_account.ex:13
warning: unused import EctoEnum
lib/nectarine_credit_api/financials/finicity_account_projection.ex:5
warning: unused import EctoEnum
lib/nectarine_credit_api/organization/company.ex:4
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:783
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:460: NectarineCredit.Credit.get_active_agreement/3
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:859: NectarineCredit.Credit.list_vendor_references/1
warning: variable "vendor_reference_data" is unused (if the variable is not meant to be used, prefix it with an underscore)
lib/nectarine_credit_api/credit.ex:871: NectarineCredit.Credit.get_vr_attrs/4
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:1233: NectarineCredit.Credit.provider_new_application/3
warning: defp get_answer_type/1 is private, @doc attribute is always discarded for private functions/macros/types
lib/nectarine_credit_api/credit.ex:1357: NectarineCredit.Credit.get_answer_type/1
warning: function get_users_from_application/2 is unused
lib/nectarine_credit_api/credit.ex:1119
warning: module attribute @required_text_type_attrs was set but never used
lib/nectarine_credit_api/credit/custom_field_answer.ex:28
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/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/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/additional_account_info_listener.ex:6: NectarineCredit.Listeners.AdditionalAccountInfoListener.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/agreement_listener.ex:5: NectarineCredit.Listeners.AgreementListener.child_spec/1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment