{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/comments/30907537","id":30907537,"diff_hunk":"@@ -0,0 +1,27 @@\n+<?php\n+/*\n+ * This file is part of the Sonata package.\n+ *\n+ * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>\n+ *\n+ * For the full copyright and license information, please view the LICENSE\n+ * file that was distributed with this source code.\n+ */\n+\n+\n+namespace Sonata\\UserBundle\\Controller;\n+\n+use FOS\\UserBundle\\Controller\\ResettingController;\n+\n+\n+/**\n+ * Class ResettingFOSUser1Controller\n+ *\n+ * @package Sonata\\UserBundle\\Controller\n+ *\n+ * @author Hugo Briand <briand@ekino.com>\n+ */\n+class ResettingFOSUser2Controller extends ResettingController\n+{\n+\n+}","path":"Controller/ResettingFOSUser2Controller.php","position":27,"original_position":27,"commit_id":"8cd0fabe53e9049c20394c7b73d0bb37b5564900","original_commit_id":"8cd0fabe53e9049c20394c7b73d0bb37b5564900","user":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"body":"Missing single blank line at EOF.","created_at":"2015-05-22T15:59:05Z","updated_at":"2015-05-22T15:59:05Z","html_url":"https://github.com/sonata-project/SonataUserBundle/pull/555#discussion_r30907537","pull_request_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/comments/30907537"},"html":{"href":"https://github.com/sonata-project/SonataUserBundle/pull/555#discussion_r30907537"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555","id":35949119,"html_url":"https://github.com/sonata-project/SonataUserBundle/pull/555","diff_url":"https://github.com/sonata-project/SonataUserBundle/pull/555.diff","patch_url":"https://github.com/sonata-project/SonataUserBundle/pull/555.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/555","number":555,"state":"open","locked":false,"title":"Feature/fos 2.x","user":{"login":"pulse00","id":185278,"avatar_url":"https://avatars.githubusercontent.com/u/185278?v=3","gravatar_id":"","url":"https://api.github.com/users/pulse00","html_url":"https://github.com/pulse00","followers_url":"https://api.github.com/users/pulse00/followers","following_url":"https://api.github.com/users/pulse00/following{/other_user}","gists_url":"https://api.github.com/users/pulse00/gists{/gist_id}","starred_url":"https://api.github.com/users/pulse00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulse00/subscriptions","organizations_url":"https://api.github.com/users/pulse00/orgs","repos_url":"https://api.github.com/users/pulse00/repos","events_url":"https://api.github.com/users/pulse00/events{/privacy}","received_events_url":"https://api.github.com/users/pulse00/received_events","type":"User","site_admin":false},"body":"This PR adds support for the current 2.x branch of the FOSUserBundle. The main changes:\r\n\r\n- Added `FOS*2Controller` controllers\r\n- Added `*_2.xml` routing configuration\r\n- Added documentation\r\n\r\nThe bundle will work with both version of the fos-user-bundle, the only things which needs to be changed are:\r\n\r\n- Set the `friendsofsymfony/user-bundle` version accordingly in `composer.json`\r\n- Use the `*2.xml` versions of the routing configuration\r\n\r\nI've created 2 demo apps which use either the 1.x or the 2.x version of the fos-user-bundle:\r\n\r\n- https://github.com/pulse00/sonata-user-fos2\r\n- https://github.com/pulse00/sonata-user-fos1\r\n\r\nRefs #322 \r\n","created_at":"2015-05-21T15:57:57Z","updated_at":"2015-05-22T15:59:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bb369d750e9c14bc6ce5ac481edc6132d01553a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/555/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/statuses/8cd0fabe53e9049c20394c7b73d0bb37b5564900","head":{"label":"pulse00:feature/fos-2.x","ref":"feature/fos-2.x","sha":"8cd0fabe53e9049c20394c7b73d0bb37b5564900","user":{"login":"pulse00","id":185278,"avatar_url":"https://avatars.githubusercontent.com/u/185278?v=3","gravatar_id":"","url":"https://api.github.com/users/pulse00","html_url":"https://github.com/pulse00","followers_url":"https://api.github.com/users/pulse00/followers","following_url":"https://api.github.com/users/pulse00/following{/other_user}","gists_url":"https://api.github.com/users/pulse00/gists{/gist_id}","starred_url":"https://api.github.com/users/pulse00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulse00/subscriptions","organizations_url":"https://api.github.com/users/pulse00/orgs","repos_url":"https://api.github.com/users/pulse00/repos","events_url":"https://api.github.com/users/pulse00/events{/privacy}","received_events_url":"https://api.github.com/users/pulse00/received_events","type":"User","site_admin":false},"repo":{"id":31850707,"name":"SonataUserBundle","full_name":"pulse00/SonataUserBundle","owner":{"login":"pulse00","id":185278,"avatar_url":"https://avatars.githubusercontent.com/u/185278?v=3","gravatar_id":"","url":"https://api.github.com/users/pulse00","html_url":"https://github.com/pulse00","followers_url":"https://api.github.com/users/pulse00/followers","following_url":"https://api.github.com/users/pulse00/following{/other_user}","gists_url":"https://api.github.com/users/pulse00/gists{/gist_id}","starred_url":"https://api.github.com/users/pulse00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulse00/subscriptions","organizations_url":"https://api.github.com/users/pulse00/orgs","repos_url":"https://api.github.com/users/pulse00/repos","events_url":"https://api.github.com/users/pulse00/events{/privacy}","received_events_url":"https://api.github.com/users/pulse00/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pulse00/SonataUserBundle","description":"Integrates the UserBundle into the Sonata Project","fork":true,"url":"https://api.github.com/repos/pulse00/SonataUserBundle","forks_url":"https://api.github.com/repos/pulse00/SonataUserBundle/forks","keys_url":"https://api.github.com/repos/pulse00/SonataUserBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulse00/SonataUserBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulse00/SonataUserBundle/teams","hooks_url":"https://api.github.com/repos/pulse00/SonataUserBundle/hooks","issue_events_url":"https://api.github.com/repos/pulse00/SonataUserBundle/issues/events{/number}","events_url":"https://api.github.com/repos/pulse00/SonataUserBundle/events","assignees_url":"https://api.github.com/repos/pulse00/SonataUserBundle/assignees{/user}","branches_url":"https://api.github.com/repos/pulse00/SonataUserBundle/branches{/branch}","tags_url":"https://api.github.com/repos/pulse00/SonataUserBundle/tags","blobs_url":"https://api.github.com/repos/pulse00/SonataUserBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulse00/SonataUserBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulse00/SonataUserBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulse00/SonataUserBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulse00/SonataUserBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/pulse00/SonataUserBundle/languages","stargazers_url":"https://api.github.com/repos/pulse00/SonataUserBundle/stargazers","contributors_url":"https://api.github.com/repos/pulse00/SonataUserBundle/contributors","subscribers_url":"https://api.github.com/repos/pulse00/SonataUserBundle/subscribers","subscription_url":"https://api.github.com/repos/pulse00/SonataUserBundle/subscription","commits_url":"https://api.github.com/repos/pulse00/SonataUserBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulse00/SonataUserBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulse00/SonataUserBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulse00/SonataUserBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulse00/SonataUserBundle/contents/{+path}","compare_url":"https://api.github.com/repos/pulse00/SonataUserBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulse00/SonataUserBundle/merges","archive_url":"https://api.github.com/repos/pulse00/SonataUserBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulse00/SonataUserBundle/downloads","issues_url":"https://api.github.com/repos/pulse00/SonataUserBundle/issues{/number}","pulls_url":"https://api.github.com/repos/pulse00/SonataUserBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/pulse00/SonataUserBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/pulse00/SonataUserBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulse00/SonataUserBundle/labels{/name}","releases_url":"https://api.github.com/repos/pulse00/SonataUserBundle/releases{/id}","created_at":"2015-03-08T13:31:15Z","updated_at":"2015-05-20T13:45:30Z","pushed_at":"2015-05-21T16:01:59Z","git_url":"git://github.com/pulse00/SonataUserBundle.git","ssh_url":"git@github.com:pulse00/SonataUserBundle.git","clone_url":"https://github.com/pulse00/SonataUserBundle.git","svn_url":"https://github.com/pulse00/SonataUserBundle","homepage":"http://sonata-project.org/bundles/user","size":1228,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"sonata-project:master","ref":"master","sha":"eccfe2def49df4a9c69cdc03e674dd338d6587cb","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":1759883,"name":"SonataUserBundle","full_name":"sonata-project/SonataUserBundle","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/SonataUserBundle","description":"Integrates the UserBundle into the Sonata Project","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataUserBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/releases{/id}","created_at":"2011-05-17T08:33:49Z","updated_at":"2015-05-20T16:49:45Z","pushed_at":"2015-05-21T15:57:58Z","git_url":"git://github.com/sonata-project/SonataUserBundle.git","ssh_url":"git@github.com:sonata-project/SonataUserBundle.git","clone_url":"https://github.com/sonata-project/SonataUserBundle.git","svn_url":"https://github.com/sonata-project/SonataUserBundle","homepage":"http://sonata-project.org/bundles/user","size":3070,"stargazers_count":152,"watchers_count":152,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":279,"mirror_url":null,"open_issues_count":115,"forks":279,"open_issues":115,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555"},"html":{"href":"https://github.com/sonata-project/SonataUserBundle/pull/555"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/555"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/555/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/555/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataUserBundle/statuses/8cd0fabe53e9049c20394c7b73d0bb37b5564900"}}}}