{"action":"created","comment":{"url":"https://api.github.com/repos/stfc/mimic/pulls/comments/39392968","id":39392968,"diff_hunk":"@@ -74,13 +74,13 @@ function bool2str($v) {\n             if ($shard['state'] != 'RELOCATING') {\n                 unset($shard['relocating_node']);\n             }\n-            foreach ($shard as $k => $v) {\n+            foreach ($shard as $k => $variable) {","path":"views/view-elasticsearch-hosts.php","position":26,"original_position":26,"commit_id":"af5b43e3380ac1384f7845d27c9fd6ec49f0a215","original_commit_id":"af5b43e3380ac1384f7845d27c9fd6ec49f0a215","user":{"login":"jrha","id":323309,"avatar_url":"https://avatars.githubusercontent.com/u/323309?v=3","gravatar_id":"","url":"https://api.github.com/users/jrha","html_url":"https://github.com/jrha","followers_url":"https://api.github.com/users/jrha/followers","following_url":"https://api.github.com/users/jrha/following{/other_user}","gists_url":"https://api.github.com/users/jrha/gists{/gist_id}","starred_url":"https://api.github.com/users/jrha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrha/subscriptions","organizations_url":"https://api.github.com/users/jrha/orgs","repos_url":"https://api.github.com/users/jrha/repos","events_url":"https://api.github.com/users/jrha/events{/privacy}","received_events_url":"https://api.github.com/users/jrha/received_events","type":"User","site_admin":false},"body":"`$k` and `$v` here represent **key** and **value**, if you are going expand them it would be best to use the correct words :grin: ","created_at":"2015-09-14T13:31:21Z","updated_at":"2015-09-14T13:31:21Z","html_url":"https://github.com/stfc/mimic/pull/79#discussion_r39392968","pull_request_url":"https://api.github.com/repos/stfc/mimic/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/stfc/mimic/pulls/comments/39392968"},"html":{"href":"https://github.com/stfc/mimic/pull/79#discussion_r39392968"},"pull_request":{"href":"https://api.github.com/repos/stfc/mimic/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/stfc/mimic/pulls/79","id":44801640,"html_url":"https://github.com/stfc/mimic/pull/79","diff_url":"https://github.com/stfc/mimic/pull/79.diff","patch_url":"https://github.com/stfc/mimic/pull/79.patch","issue_url":"https://api.github.com/repos/stfc/mimic/issues/79","number":79,"state":"open","locked":false,"title":"'generational' views now use a function in  to construct their output","user":{"login":"GooBall","id":5050301,"avatar_url":"https://avatars.githubusercontent.com/u/5050301?v=3","gravatar_id":"","url":"https://api.github.com/users/GooBall","html_url":"https://github.com/GooBall","followers_url":"https://api.github.com/users/GooBall/followers","following_url":"https://api.github.com/users/GooBall/following{/other_user}","gists_url":"https://api.github.com/users/GooBall/gists{/gist_id}","starred_url":"https://api.github.com/users/GooBall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GooBall/subscriptions","organizations_url":"https://api.github.com/users/GooBall/orgs","repos_url":"https://api.github.com/users/GooBall/repos","events_url":"https://api.github.com/users/GooBall/events{/privacy}","received_events_url":"https://api.github.com/users/GooBall/received_events","type":"User","site_admin":false},"body":"* `generational` views now use a function to construct their output.\r\n* Removed `view-physical.php` as no longer used.\r\n* Better variable names for multiple files.","created_at":"2015-09-11T16:23:38Z","updated_at":"2015-09-14T13:31:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92825531bfd69cbbfa425fc66e02e14b0b907a0a","assignee":{"login":"jrha","id":323309,"avatar_url":"https://avatars.githubusercontent.com/u/323309?v=3","gravatar_id":"","url":"https://api.github.com/users/jrha","html_url":"https://github.com/jrha","followers_url":"https://api.github.com/users/jrha/followers","following_url":"https://api.github.com/users/jrha/following{/other_user}","gists_url":"https://api.github.com/users/jrha/gists{/gist_id}","starred_url":"https://api.github.com/users/jrha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrha/subscriptions","organizations_url":"https://api.github.com/users/jrha/orgs","repos_url":"https://api.github.com/users/jrha/repos","events_url":"https://api.github.com/users/jrha/events{/privacy}","received_events_url":"https://api.github.com/users/jrha/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/stfc/mimic/milestones/6","html_url":"https://github.com/stfc/mimic/milestones/1.2.5%20(lookin'%20good)","labels_url":"https://api.github.com/repos/stfc/mimic/milestones/6/labels","id":1294036,"number":6,"title":"1.2.5 (lookin' good)","description":"All CSS cleaned/formatted and as minimal as possible.","creator":{"login":"GooBall","id":5050301,"avatar_url":"https://avatars.githubusercontent.com/u/5050301?v=3","gravatar_id":"","url":"https://api.github.com/users/GooBall","html_url":"https://github.com/GooBall","followers_url":"https://api.github.com/users/GooBall/followers","following_url":"https://api.github.com/users/GooBall/following{/other_user}","gists_url":"https://api.github.com/users/GooBall/gists{/gist_id}","starred_url":"https://api.github.com/users/GooBall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GooBall/subscriptions","organizations_url":"https://api.github.com/users/GooBall/orgs","repos_url":"https://api.github.com/users/GooBall/repos","events_url":"https://api.github.com/users/GooBall/events{/privacy}","received_events_url":"https://api.github.com/users/GooBall/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-09-07T15:26:51Z","updated_at":"2015-09-11T16:23:39Z","due_on":"2015-09-17T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/stfc/mimic/pulls/79/commits","review_comments_url":"https://api.github.com/repos/stfc/mimic/pulls/79/comments","review_comment_url":"https://api.github.com/repos/stfc/mimic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stfc/mimic/issues/79/comments","statuses_url":"https://api.github.com/repos/stfc/mimic/statuses/af5b43e3380ac1384f7845d27c9fd6ec49f0a215","head":{"label":"GooBall:code-clean","ref":"code-clean","sha":"af5b43e3380ac1384f7845d27c9fd6ec49f0a215","user":{"login":"GooBall","id":5050301,"avatar_url":"https://avatars.githubusercontent.com/u/5050301?v=3","gravatar_id":"","url":"https://api.github.com/users/GooBall","html_url":"https://github.com/GooBall","followers_url":"https://api.github.com/users/GooBall/followers","following_url":"https://api.github.com/users/GooBall/following{/other_user}","gists_url":"https://api.github.com/users/GooBall/gists{/gist_id}","starred_url":"https://api.github.com/users/GooBall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GooBall/subscriptions","organizations_url":"https://api.github.com/users/GooBall/orgs","repos_url":"https://api.github.com/users/GooBall/repos","events_url":"https://api.github.com/users/GooBall/events{/privacy}","received_events_url":"https://api.github.com/users/GooBall/received_events","type":"User","site_admin":false},"repo":{"id":36376239,"name":"mimic","full_name":"GooBall/mimic","owner":{"login":"GooBall","id":5050301,"avatar_url":"https://avatars.githubusercontent.com/u/5050301?v=3","gravatar_id":"","url":"https://api.github.com/users/GooBall","html_url":"https://github.com/GooBall","followers_url":"https://api.github.com/users/GooBall/followers","following_url":"https://api.github.com/users/GooBall/following{/other_user}","gists_url":"https://api.github.com/users/GooBall/gists{/gist_id}","starred_url":"https://api.github.com/users/GooBall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GooBall/subscriptions","organizations_url":"https://api.github.com/users/GooBall/orgs","repos_url":"https://api.github.com/users/GooBall/repos","events_url":"https://api.github.com/users/GooBall/events{/privacy}","received_events_url":"https://api.github.com/users/GooBall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GooBall/mimic","description":"Mimic Is Monitoring Information Concisely","fork":true,"url":"https://api.github.com/repos/GooBall/mimic","forks_url":"https://api.github.com/repos/GooBall/mimic/forks","keys_url":"https://api.github.com/repos/GooBall/mimic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GooBall/mimic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GooBall/mimic/teams","hooks_url":"https://api.github.com/repos/GooBall/mimic/hooks","issue_events_url":"https://api.github.com/repos/GooBall/mimic/issues/events{/number}","events_url":"https://api.github.com/repos/GooBall/mimic/events","assignees_url":"https://api.github.com/repos/GooBall/mimic/assignees{/user}","branches_url":"https://api.github.com/repos/GooBall/mimic/branches{/branch}","tags_url":"https://api.github.com/repos/GooBall/mimic/tags","blobs_url":"https://api.github.com/repos/GooBall/mimic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GooBall/mimic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GooBall/mimic/git/refs{/sha}","trees_url":"https://api.github.com/repos/GooBall/mimic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GooBall/mimic/statuses/{sha}","languages_url":"https://api.github.com/repos/GooBall/mimic/languages","stargazers_url":"https://api.github.com/repos/GooBall/mimic/stargazers","contributors_url":"https://api.github.com/repos/GooBall/mimic/contributors","subscribers_url":"https://api.github.com/repos/GooBall/mimic/subscribers","subscription_url":"https://api.github.com/repos/GooBall/mimic/subscription","commits_url":"https://api.github.com/repos/GooBall/mimic/commits{/sha}","git_commits_url":"https://api.github.com/repos/GooBall/mimic/git/commits{/sha}","comments_url":"https://api.github.com/repos/GooBall/mimic/comments{/number}","issue_comment_url":"https://api.github.com/repos/GooBall/mimic/issues/comments{/number}","contents_url":"https://api.github.com/repos/GooBall/mimic/contents/{+path}","compare_url":"https://api.github.com/repos/GooBall/mimic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GooBall/mimic/merges","archive_url":"https://api.github.com/repos/GooBall/mimic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GooBall/mimic/downloads","issues_url":"https://api.github.com/repos/GooBall/mimic/issues{/number}","pulls_url":"https://api.github.com/repos/GooBall/mimic/pulls{/number}","milestones_url":"https://api.github.com/repos/GooBall/mimic/milestones{/number}","notifications_url":"https://api.github.com/repos/GooBall/mimic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GooBall/mimic/labels{/name}","releases_url":"https://api.github.com/repos/GooBall/mimic/releases{/id}","created_at":"2015-05-27T15:24:22Z","updated_at":"2015-09-11T15:17:39Z","pushed_at":"2015-09-14T13:21:26Z","git_url":"git://github.com/GooBall/mimic.git","ssh_url":"git@github.com:GooBall/mimic.git","clone_url":"https://github.com/GooBall/mimic.git","svn_url":"https://github.com/GooBall/mimic","homepage":null,"size":883,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stfc:master","ref":"master","sha":"60b9fa0dc3161349a216868745b367dbfe2799bf","user":{"login":"stfc","id":3727936,"avatar_url":"https://avatars.githubusercontent.com/u/3727936?v=3","gravatar_id":"","url":"https://api.github.com/users/stfc","html_url":"https://github.com/stfc","followers_url":"https://api.github.com/users/stfc/followers","following_url":"https://api.github.com/users/stfc/following{/other_user}","gists_url":"https://api.github.com/users/stfc/gists{/gist_id}","starred_url":"https://api.github.com/users/stfc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stfc/subscriptions","organizations_url":"https://api.github.com/users/stfc/orgs","repos_url":"https://api.github.com/users/stfc/repos","events_url":"https://api.github.com/users/stfc/events{/privacy}","received_events_url":"https://api.github.com/users/stfc/received_events","type":"Organization","site_admin":false},"repo":{"id":7206262,"name":"mimic","full_name":"stfc/mimic","owner":{"login":"stfc","id":3727936,"avatar_url":"https://avatars.githubusercontent.com/u/3727936?v=3","gravatar_id":"","url":"https://api.github.com/users/stfc","html_url":"https://github.com/stfc","followers_url":"https://api.github.com/users/stfc/followers","following_url":"https://api.github.com/users/stfc/following{/other_user}","gists_url":"https://api.github.com/users/stfc/gists{/gist_id}","starred_url":"https://api.github.com/users/stfc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stfc/subscriptions","organizations_url":"https://api.github.com/users/stfc/orgs","repos_url":"https://api.github.com/users/stfc/repos","events_url":"https://api.github.com/users/stfc/events{/privacy}","received_events_url":"https://api.github.com/users/stfc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stfc/mimic","description":"Mimic Is Monitoring Information Concisely","fork":false,"url":"https://api.github.com/repos/stfc/mimic","forks_url":"https://api.github.com/repos/stfc/mimic/forks","keys_url":"https://api.github.com/repos/stfc/mimic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stfc/mimic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stfc/mimic/teams","hooks_url":"https://api.github.com/repos/stfc/mimic/hooks","issue_events_url":"https://api.github.com/repos/stfc/mimic/issues/events{/number}","events_url":"https://api.github.com/repos/stfc/mimic/events","assignees_url":"https://api.github.com/repos/stfc/mimic/assignees{/user}","branches_url":"https://api.github.com/repos/stfc/mimic/branches{/branch}","tags_url":"https://api.github.com/repos/stfc/mimic/tags","blobs_url":"https://api.github.com/repos/stfc/mimic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stfc/mimic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stfc/mimic/git/refs{/sha}","trees_url":"https://api.github.com/repos/stfc/mimic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stfc/mimic/statuses/{sha}","languages_url":"https://api.github.com/repos/stfc/mimic/languages","stargazers_url":"https://api.github.com/repos/stfc/mimic/stargazers","contributors_url":"https://api.github.com/repos/stfc/mimic/contributors","subscribers_url":"https://api.github.com/repos/stfc/mimic/subscribers","subscription_url":"https://api.github.com/repos/stfc/mimic/subscription","commits_url":"https://api.github.com/repos/stfc/mimic/commits{/sha}","git_commits_url":"https://api.github.com/repos/stfc/mimic/git/commits{/sha}","comments_url":"https://api.github.com/repos/stfc/mimic/comments{/number}","issue_comment_url":"https://api.github.com/repos/stfc/mimic/issues/comments{/number}","contents_url":"https://api.github.com/repos/stfc/mimic/contents/{+path}","compare_url":"https://api.github.com/repos/stfc/mimic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stfc/mimic/merges","archive_url":"https://api.github.com/repos/stfc/mimic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stfc/mimic/downloads","issues_url":"https://api.github.com/repos/stfc/mimic/issues{/number}","pulls_url":"https://api.github.com/repos/stfc/mimic/pulls{/number}","milestones_url":"https://api.github.com/repos/stfc/mimic/milestones{/number}","notifications_url":"https://api.github.com/repos/stfc/mimic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stfc/mimic/labels{/name}","releases_url":"https://api.github.com/repos/stfc/mimic/releases{/id}","created_at":"2012-12-17T14:42:53Z","updated_at":"2015-09-11T08:37:49Z","pushed_at":"2015-09-14T10:34:53Z","git_url":"git://github.com/stfc/mimic.git","ssh_url":"git@github.com:stfc/mimic.git","clone_url":"https://github.com/stfc/mimic.git","svn_url":"https://github.com/stfc/mimic","homepage":null,"size":1404,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stfc/mimic/pulls/79"},"html":{"href":"https://github.com/stfc/mimic/pull/79"},"issue":{"href":"https://api.github.com/repos/stfc/mimic/issues/79"},"comments":{"href":"https://api.github.com/repos/stfc/mimic/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/stfc/mimic/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/stfc/mimic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stfc/mimic/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/stfc/mimic/statuses/af5b43e3380ac1384f7845d27c9fd6ec49f0a215"}}}}