{"action":"created","comment":{"url":"https://api.github.com/repos/cakephp/debug_kit/pulls/comments/31688394","id":31688394,"diff_hunk":"@@ -77,6 +88,9 @@ public function makeNeatArray($values, $openDepth = 0, $currentDepth = 0, $doubl\n         if (empty($values)) {\n             $values[] = '(empty)';\n         }\n+        if ($this->sort && is_array($values)) {\n+            ksort($values);\n+        }","path":"src/View/Helper/ToolbarHelper.php","position":24,"original_position":24,"commit_id":"0ef10af81bbe3846b8b2e7ab884fc89bdca85b24","original_commit_id":"0ef10af81bbe3846b8b2e7ab884fc89bdca85b24","user":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"body":"I don't know if more checkboxes is a great experience. The one checkbox should be fine for now.","created_at":"2015-06-04T02:05:28Z","updated_at":"2015-06-04T02:05:28Z","html_url":"https://github.com/cakephp/debug_kit/pull/346#discussion_r31688394","pull_request_url":"https://api.github.com/repos/cakephp/debug_kit/pulls/346","_links":{"self":{"href":"https://api.github.com/repos/cakephp/debug_kit/pulls/comments/31688394"},"html":{"href":"https://github.com/cakephp/debug_kit/pull/346#discussion_r31688394"},"pull_request":{"href":"https://api.github.com/repos/cakephp/debug_kit/pulls/346"}}},"pull_request":{"url":"https://api.github.com/repos/cakephp/debug_kit/pulls/346","id":36693697,"html_url":"https://github.com/cakephp/debug_kit/pull/346","diff_url":"https://github.com/cakephp/debug_kit/pull/346.diff","patch_url":"https://github.com/cakephp/debug_kit/pull/346.patch","issue_url":"https://api.github.com/repos/cakephp/debug_kit/issues/346","number":346,"state":"open","locked":false,"title":"added sort to variables panel","user":{"login":"Graziel","id":5963584,"avatar_url":"https://avatars.githubusercontent.com/u/5963584?v=3","gravatar_id":"","url":"https://api.github.com/users/Graziel","html_url":"https://github.com/Graziel","followers_url":"https://api.github.com/users/Graziel/followers","following_url":"https://api.github.com/users/Graziel/following{/other_user}","gists_url":"https://api.github.com/users/Graziel/gists{/gist_id}","starred_url":"https://api.github.com/users/Graziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graziel/subscriptions","organizations_url":"https://api.github.com/users/Graziel/orgs","repos_url":"https://api.github.com/users/Graziel/repos","events_url":"https://api.github.com/users/Graziel/events{/privacy}","received_events_url":"https://api.github.com/users/Graziel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-02T04:25:41Z","updated_at":"2015-06-04T02:05:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a2b13ac0af320596d3fcd0a22f2dfd73076e57e","assignee":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cakephp/debug_kit/milestones/11","html_url":"https://github.com/cakephp/debug_kit/milestones/3.1.5","labels_url":"https://api.github.com/repos/cakephp/debug_kit/milestones/11/labels","id":1140754,"number":11,"title":"3.1.5","description":"Bugfixes and optimizations for 3.1.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2015-05-29T21:32:41Z","updated_at":"2015-06-02T16:45:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cakephp/debug_kit/pulls/346/commits","review_comments_url":"https://api.github.com/repos/cakephp/debug_kit/pulls/346/comments","review_comment_url":"https://api.github.com/repos/cakephp/debug_kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/debug_kit/issues/346/comments","statuses_url":"https://api.github.com/repos/cakephp/debug_kit/statuses/0ef10af81bbe3846b8b2e7ab884fc89bdca85b24","head":{"label":"Graziel:master","ref":"master","sha":"0ef10af81bbe3846b8b2e7ab884fc89bdca85b24","user":{"login":"Graziel","id":5963584,"avatar_url":"https://avatars.githubusercontent.com/u/5963584?v=3","gravatar_id":"","url":"https://api.github.com/users/Graziel","html_url":"https://github.com/Graziel","followers_url":"https://api.github.com/users/Graziel/followers","following_url":"https://api.github.com/users/Graziel/following{/other_user}","gists_url":"https://api.github.com/users/Graziel/gists{/gist_id}","starred_url":"https://api.github.com/users/Graziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graziel/subscriptions","organizations_url":"https://api.github.com/users/Graziel/orgs","repos_url":"https://api.github.com/users/Graziel/repos","events_url":"https://api.github.com/users/Graziel/events{/privacy}","received_events_url":"https://api.github.com/users/Graziel/received_events","type":"User","site_admin":false},"repo":{"id":35415850,"name":"debug_kit","full_name":"Graziel/debug_kit","owner":{"login":"Graziel","id":5963584,"avatar_url":"https://avatars.githubusercontent.com/u/5963584?v=3","gravatar_id":"","url":"https://api.github.com/users/Graziel","html_url":"https://github.com/Graziel","followers_url":"https://api.github.com/users/Graziel/followers","following_url":"https://api.github.com/users/Graziel/following{/other_user}","gists_url":"https://api.github.com/users/Graziel/gists{/gist_id}","starred_url":"https://api.github.com/users/Graziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graziel/subscriptions","organizations_url":"https://api.github.com/users/Graziel/orgs","repos_url":"https://api.github.com/users/Graziel/repos","events_url":"https://api.github.com/users/Graziel/events{/privacy}","received_events_url":"https://api.github.com/users/Graziel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Graziel/debug_kit","description":"Debug Toolbar for CakePHP applications.","fork":true,"url":"https://api.github.com/repos/Graziel/debug_kit","forks_url":"https://api.github.com/repos/Graziel/debug_kit/forks","keys_url":"https://api.github.com/repos/Graziel/debug_kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Graziel/debug_kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Graziel/debug_kit/teams","hooks_url":"https://api.github.com/repos/Graziel/debug_kit/hooks","issue_events_url":"https://api.github.com/repos/Graziel/debug_kit/issues/events{/number}","events_url":"https://api.github.com/repos/Graziel/debug_kit/events","assignees_url":"https://api.github.com/repos/Graziel/debug_kit/assignees{/user}","branches_url":"https://api.github.com/repos/Graziel/debug_kit/branches{/branch}","tags_url":"https://api.github.com/repos/Graziel/debug_kit/tags","blobs_url":"https://api.github.com/repos/Graziel/debug_kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Graziel/debug_kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Graziel/debug_kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Graziel/debug_kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Graziel/debug_kit/statuses/{sha}","languages_url":"https://api.github.com/repos/Graziel/debug_kit/languages","stargazers_url":"https://api.github.com/repos/Graziel/debug_kit/stargazers","contributors_url":"https://api.github.com/repos/Graziel/debug_kit/contributors","subscribers_url":"https://api.github.com/repos/Graziel/debug_kit/subscribers","subscription_url":"https://api.github.com/repos/Graziel/debug_kit/subscription","commits_url":"https://api.github.com/repos/Graziel/debug_kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Graziel/debug_kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Graziel/debug_kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Graziel/debug_kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/Graziel/debug_kit/contents/{+path}","compare_url":"https://api.github.com/repos/Graziel/debug_kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Graziel/debug_kit/merges","archive_url":"https://api.github.com/repos/Graziel/debug_kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Graziel/debug_kit/downloads","issues_url":"https://api.github.com/repos/Graziel/debug_kit/issues{/number}","pulls_url":"https://api.github.com/repos/Graziel/debug_kit/pulls{/number}","milestones_url":"https://api.github.com/repos/Graziel/debug_kit/milestones{/number}","notifications_url":"https://api.github.com/repos/Graziel/debug_kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Graziel/debug_kit/labels{/name}","releases_url":"https://api.github.com/repos/Graziel/debug_kit/releases{/id}","created_at":"2015-05-11T09:59:07Z","updated_at":"2015-05-11T09:59:08Z","pushed_at":"2015-06-02T18:41:58Z","git_url":"git://github.com/Graziel/debug_kit.git","ssh_url":"git@github.com:Graziel/debug_kit.git","clone_url":"https://github.com/Graziel/debug_kit.git","svn_url":"https://github.com/Graziel/debug_kit","homepage":"http://cakephp.org","size":2165,"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":"cakephp:master","ref":"master","sha":"e16052f7da172c38e03f410be5f38c85e988992c","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":423066,"name":"debug_kit","full_name":"cakephp/debug_kit","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cakephp/debug_kit","description":"Debug Toolbar for CakePHP applications.","fork":false,"url":"https://api.github.com/repos/cakephp/debug_kit","forks_url":"https://api.github.com/repos/cakephp/debug_kit/forks","keys_url":"https://api.github.com/repos/cakephp/debug_kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/debug_kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/debug_kit/teams","hooks_url":"https://api.github.com/repos/cakephp/debug_kit/hooks","issue_events_url":"https://api.github.com/repos/cakephp/debug_kit/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/debug_kit/events","assignees_url":"https://api.github.com/repos/cakephp/debug_kit/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/debug_kit/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/debug_kit/tags","blobs_url":"https://api.github.com/repos/cakephp/debug_kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/debug_kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/debug_kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/debug_kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/debug_kit/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/debug_kit/languages","stargazers_url":"https://api.github.com/repos/cakephp/debug_kit/stargazers","contributors_url":"https://api.github.com/repos/cakephp/debug_kit/contributors","subscribers_url":"https://api.github.com/repos/cakephp/debug_kit/subscribers","subscription_url":"https://api.github.com/repos/cakephp/debug_kit/subscription","commits_url":"https://api.github.com/repos/cakephp/debug_kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/debug_kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/debug_kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/debug_kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakephp/debug_kit/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/debug_kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/debug_kit/merges","archive_url":"https://api.github.com/repos/cakephp/debug_kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/debug_kit/downloads","issues_url":"https://api.github.com/repos/cakephp/debug_kit/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/debug_kit/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/debug_kit/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/debug_kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/debug_kit/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/debug_kit/releases{/id}","created_at":"2009-12-12T03:24:12Z","updated_at":"2015-06-03T01:48:15Z","pushed_at":"2015-06-02T18:41:59Z","git_url":"git://github.com/cakephp/debug_kit.git","ssh_url":"git@github.com:cakephp/debug_kit.git","clone_url":"https://github.com/cakephp/debug_kit.git","svn_url":"https://github.com/cakephp/debug_kit","homepage":"http://cakephp.org","size":10897,"stargazers_count":837,"watchers_count":837,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":556,"mirror_url":null,"open_issues_count":15,"forks":556,"open_issues":15,"watchers":837,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/debug_kit/pulls/346"},"html":{"href":"https://github.com/cakephp/debug_kit/pull/346"},"issue":{"href":"https://api.github.com/repos/cakephp/debug_kit/issues/346"},"comments":{"href":"https://api.github.com/repos/cakephp/debug_kit/issues/346/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/debug_kit/pulls/346/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/debug_kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/debug_kit/pulls/346/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/debug_kit/statuses/0ef10af81bbe3846b8b2e7ab884fc89bdca85b24"}}}}