Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

[CHORE] Resolve couple code warnings in the project #2246

Conversation

rafaelks
Copy link
Contributor

@RocketChat/ios

@rafaelks rafaelks added this to the 3.2.0 milestone Oct 11, 2018
@rafaelks rafaelks added this to In Progress in Cycle 10: 10/05 ~ 11/05 via automation Oct 11, 2018
Cycle 10: 10/05 ~ 11/05 automation moved this from In Progress to In Review / QA Oct 11, 2018
Copy link
Collaborator

@filipealva filipealva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 💯 just waiting the CI pass to merge

@codecov
Copy link

codecov bot commented Oct 11, 2018

Codecov Report

Merging #2246 into feature/integrate-rc-view-controller will decrease coverage by 0.09%.
The diff coverage is 43.75%.

Impacted file tree graph

@@                           Coverage Diff                           @@
##           feature/integrate-rc-view-controller    #2246     +/-   ##
=======================================================================
- Coverage                                 26.86%   26.77%   -0.1%     
=======================================================================
  Files                                       418      418             
  Lines                                     15739    15700     -39     
=======================================================================
- Hits                                       4229     4204     -25     
+ Misses                                    11510    11496     -14
Impacted Files Coverage Δ
...t.Chat/Models/Subscription/SubscriptionUtils.swift 35% <ø> (ø) ⬆️
Rocket.Chat/Models/Message/UnmanagedMessage.swift 0% <ø> (ø) ⬆️
...hat/Views/Chat/New Chat/Cells/MessageURLCell.swift 0% <0%> (ø) ⬆️
...Managers/Model/MessageManager/MessageManager.swift 16.1% <0%> (-0.45%) ⬇️
...ollers/Preferences/PreferencesViewController.swift 0% <0%> (ø) ⬆️
.../Chat/MessagesViewControllerComposerDelegate.swift 0% <0%> (ø) ⬆️
Rocket.Chat/Extensions/RealmCurrent.swift 100% <100%> (+50%) ⬆️
Rocket.Chat/API/Clients/SubscriptionsClient.swift 37.97% <100%> (ø) ⬆️
Rocket.Chat/Extensions/RealmExecute.swift 62.22% <80%> (+9.44%) ⬆️
...at/API/Requests/General/LoginServicesRequest.swift 90% <0%> (-10%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 21f1797...cb0a8cb. Read the comment docs.

@@ -48,7 +48,7 @@ extension MessageManager {
let subscriptionIdentifier = subscription.identifier

currentRealm?.execute({ (realm) in
guard let detachedSubscription = realm.object(ofType: Subscription.self, forPrimaryKey: subscriptionIdentifier ?? "") else { return }
guard let detachedSubscription = realm.object(ofType: Subscription.self, forPrimaryKey: subscriptionIdentifier) else { return }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 143 characters (line_length)

@rafaelks rafaelks changed the title [CHORE] Resolve couple code warnings in Unit Tests code [CHORE] Resolve couple code warnings in the project Oct 11, 2018
Copy link
Collaborator

@filipealva filipealva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@filipealva filipealva merged commit 6b5d4e7 into feature/integrate-rc-view-controller Oct 11, 2018
Cycle 10: 10/05 ~ 11/05 automation moved this from In Review / QA to Done Oct 11, 2018
@filipealva filipealva deleted the chore/resolve_couple_code_warnings branch October 11, 2018 17:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants