{"action":"created","comment":{"url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/comments/270795560","pull_request_review_id":221021076,"id":270795560,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3MDc5NTU2MA==","diff_hunk":"@@ -1,105 +1,117 @@\n-\n-\n import Foundation\n import UIKit\n \n class ContactUsViewController: UIViewController {\n-    \n+\n     //MARK: Properties\n-    \n+\n     var contactUsPresenter: ContactUsPresentable?\n     var cellViewModel: ContactUsCellViewModel?\n     var officeViewModels = [OfficeViewModel]()\n     var firebaseStorage: FIRStoring?\n     var errorView: ErrorView?\n     let dependencyContainer = DependencyContainer.container()\n-    \n-    //MARK: @IBOutlets\n-    \n+\n+    //MARK: @IBOutlet(s)\n+\n     @IBOutlet weak var loadingView: LoadingView!\n     @IBOutlet weak var collectionView: UICollectionView!\n-    \n+\n     //MARK: Lifecycle\n-    \n+\n     override func viewDidLoad() {\n         super.viewDidLoad()\n         self.navigationItem.title = \"Contact\"\n         setupInjectables()\n         setCollectionView()\n         registerContactUsCell()\n         contactUsPresenter?.retrieveContacts()\n+        contactUsPresenter?.trackScreenDidAppear(screen: \"contact_us\")\n     }\n-    \n+\n+    //MARK: Operation(s)\n+\n     func setupInjectables() {\n         let contactUsPresenter = dependencyContainer.resolve(ContactUsPresentable.self) as! ContactUsPresenter\n         let firebaseStorage = dependencyContainer.resolve(FIRStoring.self)\n+        let analyticManger = dependencyContainer.resolve(AnalyticsManager.self) as! AnalyticManagerImplementation","path":"Showcase-iOS/Contact Us/View/ContactUsViewController.swift","position":47,"original_position":47,"commit_id":"f5c15fb567c80b3ef3171727219b8c508195648d","original_commit_id":"f5c15fb567c80b3ef3171727219b8c508195648d","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Force casts should be avoided.](https://app.codacy.com/app/pjwelcome/ShowcaseiOS/pullRequest?prid=3358375)","created_at":"2019-04-01T10:00:45Z","updated_at":"2019-04-01T10:00:45Z","html_url":"https://github.com/DVT/ShowcaseiOS/pull/92#discussion_r270795560","pull_request_url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/comments/270795560"},"html":{"href":"https://github.com/DVT/ShowcaseiOS/pull/92#discussion_r270795560"},"pull_request":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92","id":266166382,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY2MTY2Mzgy","html_url":"https://github.com/DVT/ShowcaseiOS/pull/92","diff_url":"https://github.com/DVT/ShowcaseiOS/pull/92.diff","patch_url":"https://github.com/DVT/ShowcaseiOS/pull/92.patch","issue_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/92","number":92,"state":"open","locked":false,"title":"Firebase Analytics - Contact us","user":{"login":"Sashen943","id":22531825,"node_id":"MDQ6VXNlcjIyNTMxODI1","avatar_url":"https://avatars1.githubusercontent.com/u/22531825?v=4","gravatar_id":"","url":"https://api.github.com/users/Sashen943","html_url":"https://github.com/Sashen943","followers_url":"https://api.github.com/users/Sashen943/followers","following_url":"https://api.github.com/users/Sashen943/following{/other_user}","gists_url":"https://api.github.com/users/Sashen943/gists{/gist_id}","starred_url":"https://api.github.com/users/Sashen943/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sashen943/subscriptions","organizations_url":"https://api.github.com/users/Sashen943/orgs","repos_url":"https://api.github.com/users/Sashen943/repos","events_url":"https://api.github.com/users/Sashen943/events{/privacy}","received_events_url":"https://api.github.com/users/Sashen943/received_events","type":"User","site_admin":false},"body":"- Analytic functions created in presenter and injected and implemented in View Controller\n- Tests written for presenter\n- General code clean up of contact us feature","created_at":"2019-04-01T09:46:16Z","updated_at":"2019-04-01T10:00:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b488cdaa000cde7fc644148f6cd860b19a5dcf4a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"pjwelcome","id":6593179,"node_id":"MDQ6VXNlcjY1OTMxNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/6593179?v=4","gravatar_id":"","url":"https://api.github.com/users/pjwelcome","html_url":"https://github.com/pjwelcome","followers_url":"https://api.github.com/users/pjwelcome/followers","following_url":"https://api.github.com/users/pjwelcome/following{/other_user}","gists_url":"https://api.github.com/users/pjwelcome/gists{/gist_id}","starred_url":"https://api.github.com/users/pjwelcome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjwelcome/subscriptions","organizations_url":"https://api.github.com/users/pjwelcome/orgs","repos_url":"https://api.github.com/users/pjwelcome/repos","events_url":"https://api.github.com/users/pjwelcome/events{/privacy}","received_events_url":"https://api.github.com/users/pjwelcome/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92/commits","review_comments_url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92/comments","review_comment_url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/92/comments","statuses_url":"https://api.github.com/repos/DVT/ShowcaseiOS/statuses/f5c15fb567c80b3ef3171727219b8c508195648d","head":{"label":"DVT:feature/firebase-analytics/contact","ref":"feature/firebase-analytics/contact","sha":"f5c15fb567c80b3ef3171727219b8c508195648d","user":{"login":"DVT","id":3303186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDMxODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3303186?v=4","gravatar_id":"","url":"https://api.github.com/users/DVT","html_url":"https://github.com/DVT","followers_url":"https://api.github.com/users/DVT/followers","following_url":"https://api.github.com/users/DVT/following{/other_user}","gists_url":"https://api.github.com/users/DVT/gists{/gist_id}","starred_url":"https://api.github.com/users/DVT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVT/subscriptions","organizations_url":"https://api.github.com/users/DVT/orgs","repos_url":"https://api.github.com/users/DVT/repos","events_url":"https://api.github.com/users/DVT/events{/privacy}","received_events_url":"https://api.github.com/users/DVT/received_events","type":"Organization","site_admin":false},"repo":{"id":129877320,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk4NzczMjA=","name":"ShowcaseiOS","full_name":"DVT/ShowcaseiOS","private":false,"owner":{"login":"DVT","id":3303186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDMxODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3303186?v=4","gravatar_id":"","url":"https://api.github.com/users/DVT","html_url":"https://github.com/DVT","followers_url":"https://api.github.com/users/DVT/followers","following_url":"https://api.github.com/users/DVT/following{/other_user}","gists_url":"https://api.github.com/users/DVT/gists{/gist_id}","starred_url":"https://api.github.com/users/DVT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVT/subscriptions","organizations_url":"https://api.github.com/users/DVT/orgs","repos_url":"https://api.github.com/users/DVT/repos","events_url":"https://api.github.com/users/DVT/events{/privacy}","received_events_url":"https://api.github.com/users/DVT/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/DVT/ShowcaseiOS","description":" Showcase is an iOS application where you can display the work you have done as a company or an individual. ","fork":false,"url":"https://api.github.com/repos/DVT/ShowcaseiOS","forks_url":"https://api.github.com/repos/DVT/ShowcaseiOS/forks","keys_url":"https://api.github.com/repos/DVT/ShowcaseiOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DVT/ShowcaseiOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DVT/ShowcaseiOS/teams","hooks_url":"https://api.github.com/repos/DVT/ShowcaseiOS/hooks","issue_events_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/events{/number}","events_url":"https://api.github.com/repos/DVT/ShowcaseiOS/events","assignees_url":"https://api.github.com/repos/DVT/ShowcaseiOS/assignees{/user}","branches_url":"https://api.github.com/repos/DVT/ShowcaseiOS/branches{/branch}","tags_url":"https://api.github.com/repos/DVT/ShowcaseiOS/tags","blobs_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DVT/ShowcaseiOS/statuses/{sha}","languages_url":"https://api.github.com/repos/DVT/ShowcaseiOS/languages","stargazers_url":"https://api.github.com/repos/DVT/ShowcaseiOS/stargazers","contributors_url":"https://api.github.com/repos/DVT/ShowcaseiOS/contributors","subscribers_url":"https://api.github.com/repos/DVT/ShowcaseiOS/subscribers","subscription_url":"https://api.github.com/repos/DVT/ShowcaseiOS/subscription","commits_url":"https://api.github.com/repos/DVT/ShowcaseiOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/DVT/ShowcaseiOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/DVT/ShowcaseiOS/contents/{+path}","compare_url":"https://api.github.com/repos/DVT/ShowcaseiOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DVT/ShowcaseiOS/merges","archive_url":"https://api.github.com/repos/DVT/ShowcaseiOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DVT/ShowcaseiOS/downloads","issues_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues{/number}","pulls_url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls{/number}","milestones_url":"https://api.github.com/repos/DVT/ShowcaseiOS/milestones{/number}","notifications_url":"https://api.github.com/repos/DVT/ShowcaseiOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DVT/ShowcaseiOS/labels{/name}","releases_url":"https://api.github.com/repos/DVT/ShowcaseiOS/releases{/id}","deployments_url":"https://api.github.com/repos/DVT/ShowcaseiOS/deployments","created_at":"2018-04-17T09:08:14Z","updated_at":"2019-03-28T18:33:09Z","pushed_at":"2019-04-01T09:46:16Z","git_url":"git://github.com/DVT/ShowcaseiOS.git","ssh_url":"git@github.com:DVT/ShowcaseiOS.git","clone_url":"https://github.com/DVT/ShowcaseiOS.git","svn_url":"https://github.com/DVT/ShowcaseiOS","homepage":null,"size":2536,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":3,"default_branch":"develop"}},"base":{"label":"DVT:develop","ref":"develop","sha":"6e0cb3dc5feb79cb430410f6e8a078301b2bdf0b","user":{"login":"DVT","id":3303186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDMxODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3303186?v=4","gravatar_id":"","url":"https://api.github.com/users/DVT","html_url":"https://github.com/DVT","followers_url":"https://api.github.com/users/DVT/followers","following_url":"https://api.github.com/users/DVT/following{/other_user}","gists_url":"https://api.github.com/users/DVT/gists{/gist_id}","starred_url":"https://api.github.com/users/DVT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVT/subscriptions","organizations_url":"https://api.github.com/users/DVT/orgs","repos_url":"https://api.github.com/users/DVT/repos","events_url":"https://api.github.com/users/DVT/events{/privacy}","received_events_url":"https://api.github.com/users/DVT/received_events","type":"Organization","site_admin":false},"repo":{"id":129877320,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk4NzczMjA=","name":"ShowcaseiOS","full_name":"DVT/ShowcaseiOS","private":false,"owner":{"login":"DVT","id":3303186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMDMxODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3303186?v=4","gravatar_id":"","url":"https://api.github.com/users/DVT","html_url":"https://github.com/DVT","followers_url":"https://api.github.com/users/DVT/followers","following_url":"https://api.github.com/users/DVT/following{/other_user}","gists_url":"https://api.github.com/users/DVT/gists{/gist_id}","starred_url":"https://api.github.com/users/DVT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVT/subscriptions","organizations_url":"https://api.github.com/users/DVT/orgs","repos_url":"https://api.github.com/users/DVT/repos","events_url":"https://api.github.com/users/DVT/events{/privacy}","received_events_url":"https://api.github.com/users/DVT/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/DVT/ShowcaseiOS","description":" Showcase is an iOS application where you can display the work you have done as a company or an individual. ","fork":false,"url":"https://api.github.com/repos/DVT/ShowcaseiOS","forks_url":"https://api.github.com/repos/DVT/ShowcaseiOS/forks","keys_url":"https://api.github.com/repos/DVT/ShowcaseiOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DVT/ShowcaseiOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DVT/ShowcaseiOS/teams","hooks_url":"https://api.github.com/repos/DVT/ShowcaseiOS/hooks","issue_events_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/events{/number}","events_url":"https://api.github.com/repos/DVT/ShowcaseiOS/events","assignees_url":"https://api.github.com/repos/DVT/ShowcaseiOS/assignees{/user}","branches_url":"https://api.github.com/repos/DVT/ShowcaseiOS/branches{/branch}","tags_url":"https://api.github.com/repos/DVT/ShowcaseiOS/tags","blobs_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DVT/ShowcaseiOS/statuses/{sha}","languages_url":"https://api.github.com/repos/DVT/ShowcaseiOS/languages","stargazers_url":"https://api.github.com/repos/DVT/ShowcaseiOS/stargazers","contributors_url":"https://api.github.com/repos/DVT/ShowcaseiOS/contributors","subscribers_url":"https://api.github.com/repos/DVT/ShowcaseiOS/subscribers","subscription_url":"https://api.github.com/repos/DVT/ShowcaseiOS/subscription","commits_url":"https://api.github.com/repos/DVT/ShowcaseiOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/DVT/ShowcaseiOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/DVT/ShowcaseiOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/DVT/ShowcaseiOS/contents/{+path}","compare_url":"https://api.github.com/repos/DVT/ShowcaseiOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DVT/ShowcaseiOS/merges","archive_url":"https://api.github.com/repos/DVT/ShowcaseiOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DVT/ShowcaseiOS/downloads","issues_url":"https://api.github.com/repos/DVT/ShowcaseiOS/issues{/number}","pulls_url":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls{/number}","milestones_url":"https://api.github.com/repos/DVT/ShowcaseiOS/milestones{/number}","notifications_url":"https://api.github.com/repos/DVT/ShowcaseiOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DVT/ShowcaseiOS/labels{/name}","releases_url":"https://api.github.com/repos/DVT/ShowcaseiOS/releases{/id}","deployments_url":"https://api.github.com/repos/DVT/ShowcaseiOS/deployments","created_at":"2018-04-17T09:08:14Z","updated_at":"2019-03-28T18:33:09Z","pushed_at":"2019-04-01T09:46:16Z","git_url":"git://github.com/DVT/ShowcaseiOS.git","ssh_url":"git@github.com:DVT/ShowcaseiOS.git","clone_url":"https://github.com/DVT/ShowcaseiOS.git","svn_url":"https://github.com/DVT/ShowcaseiOS","homepage":null,"size":2536,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92"},"html":{"href":"https://github.com/DVT/ShowcaseiOS/pull/92"},"issue":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/92"},"comments":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/DVT/ShowcaseiOS/statuses/f5c15fb567c80b3ef3171727219b8c508195648d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}