{"action":"opened","number":190,"pull_request":{"url":"https://api.github.com/repos/maximebf/php-debugbar/pulls/190","id":26846538,"html_url":"https://github.com/maximebf/php-debugbar/pull/190","diff_url":"https://github.com/maximebf/php-debugbar/pull/190.diff","patch_url":"https://github.com/maximebf/php-debugbar/pull/190.patch","issue_url":"https://api.github.com/repos/maximebf/php-debugbar/issues/190","number":190,"state":"open","locked":false,"title":"Add Util class","user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"body":"This adds a Util class to provide common methods. This also checks if functions exists, because not every php installation has mbstring installed.\r\nI also added static access to the DataFormatter class, to provide some easy access in case anyone wants to use that.\r\n\r\nShould fix #189 by checking mbstring functions.\r\n\r\n//cc @maximebf for approval","created_at":"2015-01-05T19:55:07Z","updated_at":"2015-01-05T19:55:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/maximebf/php-debugbar/pulls/190/commits","review_comments_url":"https://api.github.com/repos/maximebf/php-debugbar/pulls/190/comments","review_comment_url":"https://api.github.com/repos/maximebf/php-debugbar/pulls/comments/{number}","comments_url":"https://api.github.com/repos/maximebf/php-debugbar/issues/190/comments","statuses_url":"https://api.github.com/repos/maximebf/php-debugbar/statuses/e97880ceccb0d4415ee941d1d94fe7555e020d08","head":{"label":"maximebf:util","ref":"util","sha":"e97880ceccb0d4415ee941d1d94fe7555e020d08","user":{"login":"maximebf","id":305740,"avatar_url":"https://avatars.githubusercontent.com/u/305740?v=3","gravatar_id":"","url":"https://api.github.com/users/maximebf","html_url":"https://github.com/maximebf","followers_url":"https://api.github.com/users/maximebf/followers","following_url":"https://api.github.com/users/maximebf/following{/other_user}","gists_url":"https://api.github.com/users/maximebf/gists{/gist_id}","starred_url":"https://api.github.com/users/maximebf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximebf/subscriptions","organizations_url":"https://api.github.com/users/maximebf/orgs","repos_url":"https://api.github.com/users/maximebf/repos","events_url":"https://api.github.com/users/maximebf/events{/privacy}","received_events_url":"https://api.github.com/users/maximebf/received_events","type":"User","site_admin":false},"repo":{"id":10555788,"name":"php-debugbar","full_name":"maximebf/php-debugbar","owner":{"login":"maximebf","id":305740,"avatar_url":"https://avatars.githubusercontent.com/u/305740?v=3","gravatar_id":"","url":"https://api.github.com/users/maximebf","html_url":"https://github.com/maximebf","followers_url":"https://api.github.com/users/maximebf/followers","following_url":"https://api.github.com/users/maximebf/following{/other_user}","gists_url":"https://api.github.com/users/maximebf/gists{/gist_id}","starred_url":"https://api.github.com/users/maximebf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximebf/subscriptions","organizations_url":"https://api.github.com/users/maximebf/orgs","repos_url":"https://api.github.com/users/maximebf/repos","events_url":"https://api.github.com/users/maximebf/events{/privacy}","received_events_url":"https://api.github.com/users/maximebf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maximebf/php-debugbar","description":"Debug bar for PHP","fork":false,"url":"https://api.github.com/repos/maximebf/php-debugbar","forks_url":"https://api.github.com/repos/maximebf/php-debugbar/forks","keys_url":"https://api.github.com/repos/maximebf/php-debugbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maximebf/php-debugbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maximebf/php-debugbar/teams","hooks_url":"https://api.github.com/repos/maximebf/php-debugbar/hooks","issue_events_url":"https://api.github.com/repos/maximebf/php-debugbar/issues/events{/number}","events_url":"https://api.github.com/repos/maximebf/php-debugbar/events","assignees_url":"https://api.github.com/repos/maximebf/php-debugbar/assignees{/user}","branches_url":"https://api.github.com/repos/maximebf/php-debugbar/branches{/branch}","tags_url":"https://api.github.com/repos/maximebf/php-debugbar/tags","blobs_url":"https://api.github.com/repos/maximebf/php-debugbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maximebf/php-debugbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maximebf/php-debugbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/maximebf/php-debugbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maximebf/php-debugbar/statuses/{sha}","languages_url":"https://api.github.com/repos/maximebf/php-debugbar/languages","stargazers_url":"https://api.github.com/repos/maximebf/php-debugbar/stargazers","contributors_url":"https://api.github.com/repos/maximebf/php-debugbar/contributors","subscribers_url":"https://api.github.com/repos/maximebf/php-debugbar/subscribers","subscription_url":"https://api.github.com/repos/maximebf/php-debugbar/subscription","commits_url":"https://api.github.com/repos/maximebf/php-debugbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/maximebf/php-debugbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/maximebf/php-debugbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/maximebf/php-debugbar/issues/comments/{number}","contents_url":"https://api.github.com/repos/maximebf/php-debugbar/contents/{+path}","compare_url":"https://api.github.com/repos/maximebf/php-debugbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maximebf/php-debugbar/merges","archive_url":"https://api.github.com/repos/maximebf/php-debugbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maximebf/php-debugbar/downloads","issues_url":"https://api.github.com/repos/maximebf/php-debugbar/issues{/number}","pulls_url":"https://api.github.com/repos/maximebf/php-debugbar/pulls{/number}","milestones_url":"https://api.github.com/repos/maximebf/php-debugbar/milestones{/number}","notifications_url":"https://api.github.com/repos/maximebf/php-debugbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maximebf/php-debugbar/labels{/name}","releases_url":"https://api.github.com/repos/maximebf/php-debugbar/releases{/id}","created_at":"2013-06-07T17:59:04Z","updated_at":"2015-01-04T19:19:54Z","pushed_at":"2015-01-05T19:54:36Z","git_url":"git://github.com/maximebf/php-debugbar.git","ssh_url":"git@github.com:maximebf/php-debugbar.git","clone_url":"https://github.com/maximebf/php-debugbar.git","svn_url":"https://github.com/maximebf/php-debugbar","homepage":"phpdebugbar.com","size":5531,"stargazers_count":933,"watchers_count":933,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":120,"mirror_url":null,"open_issues_count":16,"forks":120,"open_issues":16,"watchers":933,"default_branch":"master"}},"base":{"label":"maximebf:master","ref":"master","sha":"2d0877a48f376d51841148b1a7a31776356e97ea","user":{"login":"maximebf","id":305740,"avatar_url":"https://avatars.githubusercontent.com/u/305740?v=3","gravatar_id":"","url":"https://api.github.com/users/maximebf","html_url":"https://github.com/maximebf","followers_url":"https://api.github.com/users/maximebf/followers","following_url":"https://api.github.com/users/maximebf/following{/other_user}","gists_url":"https://api.github.com/users/maximebf/gists{/gist_id}","starred_url":"https://api.github.com/users/maximebf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximebf/subscriptions","organizations_url":"https://api.github.com/users/maximebf/orgs","repos_url":"https://api.github.com/users/maximebf/repos","events_url":"https://api.github.com/users/maximebf/events{/privacy}","received_events_url":"https://api.github.com/users/maximebf/received_events","type":"User","site_admin":false},"repo":{"id":10555788,"name":"php-debugbar","full_name":"maximebf/php-debugbar","owner":{"login":"maximebf","id":305740,"avatar_url":"https://avatars.githubusercontent.com/u/305740?v=3","gravatar_id":"","url":"https://api.github.com/users/maximebf","html_url":"https://github.com/maximebf","followers_url":"https://api.github.com/users/maximebf/followers","following_url":"https://api.github.com/users/maximebf/following{/other_user}","gists_url":"https://api.github.com/users/maximebf/gists{/gist_id}","starred_url":"https://api.github.com/users/maximebf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximebf/subscriptions","organizations_url":"https://api.github.com/users/maximebf/orgs","repos_url":"https://api.github.com/users/maximebf/repos","events_url":"https://api.github.com/users/maximebf/events{/privacy}","received_events_url":"https://api.github.com/users/maximebf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maximebf/php-debugbar","description":"Debug bar for PHP","fork":false,"url":"https://api.github.com/repos/maximebf/php-debugbar","forks_url":"https://api.github.com/repos/maximebf/php-debugbar/forks","keys_url":"https://api.github.com/repos/maximebf/php-debugbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maximebf/php-debugbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maximebf/php-debugbar/teams","hooks_url":"https://api.github.com/repos/maximebf/php-debugbar/hooks","issue_events_url":"https://api.github.com/repos/maximebf/php-debugbar/issues/events{/number}","events_url":"https://api.github.com/repos/maximebf/php-debugbar/events","assignees_url":"https://api.github.com/repos/maximebf/php-debugbar/assignees{/user}","branches_url":"https://api.github.com/repos/maximebf/php-debugbar/branches{/branch}","tags_url":"https://api.github.com/repos/maximebf/php-debugbar/tags","blobs_url":"https://api.github.com/repos/maximebf/php-debugbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maximebf/php-debugbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maximebf/php-debugbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/maximebf/php-debugbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maximebf/php-debugbar/statuses/{sha}","languages_url":"https://api.github.com/repos/maximebf/php-debugbar/languages","stargazers_url":"https://api.github.com/repos/maximebf/php-debugbar/stargazers","contributors_url":"https://api.github.com/repos/maximebf/php-debugbar/contributors","subscribers_url":"https://api.github.com/repos/maximebf/php-debugbar/subscribers","subscription_url":"https://api.github.com/repos/maximebf/php-debugbar/subscription","commits_url":"https://api.github.com/repos/maximebf/php-debugbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/maximebf/php-debugbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/maximebf/php-debugbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/maximebf/php-debugbar/issues/comments/{number}","contents_url":"https://api.github.com/repos/maximebf/php-debugbar/contents/{+path}","compare_url":"https://api.github.com/repos/maximebf/php-debugbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maximebf/php-debugbar/merges","archive_url":"https://api.github.com/repos/maximebf/php-debugbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maximebf/php-debugbar/downloads","issues_url":"https://api.github.com/repos/maximebf/php-debugbar/issues{/number}","pulls_url":"https://api.github.com/repos/maximebf/php-debugbar/pulls{/number}","milestones_url":"https://api.github.com/repos/maximebf/php-debugbar/milestones{/number}","notifications_url":"https://api.github.com/repos/maximebf/php-debugbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maximebf/php-debugbar/labels{/name}","releases_url":"https://api.github.com/repos/maximebf/php-debugbar/releases{/id}","created_at":"2013-06-07T17:59:04Z","updated_at":"2015-01-04T19:19:54Z","pushed_at":"2015-01-05T19:54:36Z","git_url":"git://github.com/maximebf/php-debugbar.git","ssh_url":"git@github.com:maximebf/php-debugbar.git","clone_url":"https://github.com/maximebf/php-debugbar.git","svn_url":"https://github.com/maximebf/php-debugbar","homepage":"phpdebugbar.com","size":5531,"stargazers_count":933,"watchers_count":933,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":120,"mirror_url":null,"open_issues_count":16,"forks":120,"open_issues":16,"watchers":933,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maximebf/php-debugbar/pulls/190"},"html":{"href":"https://github.com/maximebf/php-debugbar/pull/190"},"issue":{"href":"https://api.github.com/repos/maximebf/php-debugbar/issues/190"},"comments":{"href":"https://api.github.com/repos/maximebf/php-debugbar/issues/190/comments"},"review_comments":{"href":"https://api.github.com/repos/maximebf/php-debugbar/pulls/190/comments"},"review_comment":{"href":"https://api.github.com/repos/maximebf/php-debugbar/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/maximebf/php-debugbar/pulls/190/commits"},"statuses":{"href":"https://api.github.com/repos/maximebf/php-debugbar/statuses/e97880ceccb0d4415ee941d1d94fe7555e020d08"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":137,"deletions":4,"changed_files":3}}