Report discarded notification observer as errors#20973
Merged
crazytonyli merged 2 commits intotrunkfrom Jul 24, 2023
Merged
Conversation
8eb366c to
4e487f3
Compare
Contributor
|
| App Name | WordPress Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr20973-bddf5db | |
| Version | 22.8 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | bddf5db | |
| App Center Build | WPiOS - One-Offs #6479 |
4e487f3 to
04a9c6b
Compare
Contributor
|
| App Name | Jetpack Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr20973-bddf5db | |
| Version | 22.8 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | bddf5db | |
| App Center Build | jetpack-installable-builds #5511 |
Generated by 🚫 dangerJS |
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.


Fixes #20994.
This PR adds the discarded_notification_center_observer SwiftLint rule to this repo's SwiftLint configuration. All existing violations have been fixed (see the referenced PR in the issue). And from now all, new violations will be reported as errors.
As mentioned in the issue description. Observers not getting unregistered may cause problems because
Regression Notes
N/A
PR submission checklist: N/A
UI Changes testing checklist: N/A