{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/comments/40530321","id":40530321,"diff_hunk":"@@ -23,6 +23,7 @@ public function getConfigTreeBuilder()\n \n         $rootNode\n             ->children()\n+                ->scalarNode('default_formatter')->end() // TODO: make it required when the major version is changed","path":"DependencyInjection/Configuration.php","position":4,"original_position":4,"commit_id":"b5e8d4b9c2497d83cf505278b47c4801114111ef","original_commit_id":"b5e8d4b9c2497d83cf505278b47c4801114111ef","user":{"login":"sagikazarmark","id":1226384,"avatar_url":"https://avatars.githubusercontent.com/u/1226384?v=3","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"body":"Everything is done the same as in MediaBundle except from a few BC preserving code.","created_at":"2015-09-28T08:58:37Z","updated_at":"2015-09-28T08:58:37Z","html_url":"https://github.com/sonata-project/SonataFormatterBundle/pull/108#discussion_r40530321","pull_request_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/comments/40530321"},"html":{"href":"https://github.com/sonata-project/SonataFormatterBundle/pull/108#discussion_r40530321"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108","id":46106600,"html_url":"https://github.com/sonata-project/SonataFormatterBundle/pull/108","diff_url":"https://github.com/sonata-project/SonataFormatterBundle/pull/108.diff","patch_url":"https://github.com/sonata-project/SonataFormatterBundle/pull/108.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/issues/108","number":108,"state":"open","locked":false,"title":"Add default formatter configuration","user":{"login":"sagikazarmark","id":1226384,"avatar_url":"https://avatars.githubusercontent.com/u/1226384?v=3","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"body":"Reimplementation of #53 ","created_at":"2015-09-27T19:08:50Z","updated_at":"2015-09-28T08:58:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1feb75fa2eb3f224cb1342369d14f5208f32f234","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/issues/108/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/statuses/b5e8d4b9c2497d83cf505278b47c4801114111ef","head":{"label":"sagikazarmark:default_formatter","ref":"default_formatter","sha":"b5e8d4b9c2497d83cf505278b47c4801114111ef","user":{"login":"sagikazarmark","id":1226384,"avatar_url":"https://avatars.githubusercontent.com/u/1226384?v=3","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"repo":{"id":43254752,"name":"SonataFormatterBundle","full_name":"sagikazarmark/SonataFormatterBundle","owner":{"login":"sagikazarmark","id":1226384,"avatar_url":"https://avatars.githubusercontent.com/u/1226384?v=3","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sagikazarmark/SonataFormatterBundle","description":"Text Formatter Bundle","fork":true,"url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle","forks_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/forks","keys_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/teams","hooks_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/hooks","issue_events_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/events","assignees_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/tags","blobs_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/languages","stargazers_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/stargazers","contributors_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/contributors","subscribers_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/subscribers","subscription_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/subscription","commits_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/merges","archive_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/downloads","issues_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/labels{/name}","releases_url":"https://api.github.com/repos/sagikazarmark/SonataFormatterBundle/releases{/id}","created_at":"2015-09-27T16:39:50Z","updated_at":"2015-09-27T16:39:51Z","pushed_at":"2015-09-27T19:08:24Z","git_url":"git://github.com/sagikazarmark/SonataFormatterBundle.git","ssh_url":"git@github.com:sagikazarmark/SonataFormatterBundle.git","clone_url":"https://github.com/sagikazarmark/SonataFormatterBundle.git","svn_url":"https://github.com/sagikazarmark/SonataFormatterBundle","homepage":"","size":2953,"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":"sonata-project:master","ref":"master","sha":"1d0ec9f374cdd9aa527c77d12953a308590cee3f","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":2411645,"name":"SonataFormatterBundle","full_name":"sonata-project/SonataFormatterBundle","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/SonataFormatterBundle","description":"Text Formatter Bundle","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/releases{/id}","created_at":"2011-09-18T22:01:46Z","updated_at":"2015-09-25T08:40:03Z","pushed_at":"2015-09-27T19:08:50Z","git_url":"git://github.com/sonata-project/SonataFormatterBundle.git","ssh_url":"git@github.com:sonata-project/SonataFormatterBundle.git","clone_url":"https://github.com/sonata-project/SonataFormatterBundle.git","svn_url":"https://github.com/sonata-project/SonataFormatterBundle","homepage":"","size":2953,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":21,"forks":53,"open_issues":21,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108"},"html":{"href":"https://github.com/sonata-project/SonataFormatterBundle/pull/108"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/issues/108"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataFormatterBundle/statuses/b5e8d4b9c2497d83cf505278b47c4801114111ef"}}}}