Draft
Conversation
a5fa040 to
8b0cc82
Compare
|
🚨 New dead code detected in this PR: STPAPIClient+PaymentSheet.swift:16 warning: Unused function 'makeElementsSessionsParams(mode:epmConfiguration:cpmConfiguration:clientDefaultPaymentMethod:customerAccessProvider:linkDisallowFundingSourceCreation:userOverrideCountry:)'
STPAPIClient+PaymentSheet.swift:123 warning: Unused function 'retrieveElementsSession(paymentIntentClientSecret:clientDefaultPaymentMethod:configuration:)'
STPAPIClient+PaymentSheet.swift:166 warning: Unused function 'retrieveElementsSession(setupIntentClientSecret:clientDefaultPaymentMethod:configuration:)'
CustomerProvider.swift:18 warning: Assign-only property 'enabled' is assigned, but never used
CustomerProvider.swift:19 warning: Assign-only property 'initiallyChecked' is assigned, but never used
CustomerProvider.swift:24 warning: Assign-only property 'checkoutCustomerEmail' is assigned, but never used
CustomerProvider.swift:25 warning: Assign-only property 'checkoutCustomerName' is assigned, but never used
CustomerProvider.swift:26 warning: Assign-only property 'checkoutCustomerPhone' is assigned, but never used
CustomerProvider.swift:27 warning: Assign-only property 'checkoutSavedPaymentMethods' is assigned, but never used
CustomerProvider.swift:28 warning: Assign-only property 'checkoutSaveConsent' is assigned, but never used
CustomerProvider.swift:90 warning: Unused function 'make(customerAccessProvider:customerID:)'
IntentConfirmParams.swift:207 warning: Unused function 'setSetupFutureUsageIfNecessary(_:currentSetupFutureUsage:paymentMethodType:customer:)'
PaymentSheetConfiguration.swift:988 warning: Unused function 'ephemeralKeySecret(basedOn:)'Please remove the dead code before merging. If this is intentional, you can bypass this check by adding the label ℹ️ If this comment appears to be left in error, double check that the flagged code is actually used and/or make sure your branch is up-to-date with [find-dead-code] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Motivation
Testing
Changelog