{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/comments/75664798","id":75664798,"diff_hunk":"@@ -104,14 +104,37 @@ public function setDefaultOptions(OptionsResolverInterface $resolver)\n      */\n     public function configureOptions(OptionsResolver $resolver)\n     {\n-        $resolver->setDefaults(array(\n-            'data_class' => $this->class,\n-            'provider' => null,\n-            'context' => null,\n-            'empty_on_new' => true,\n-            'new_on_update' => true,\n-            'translation_domain' => 'SonataMediaBundle',\n-        ));\n+        $resolver\n+            ->setDefaults(array(\n+                'data_class' => $this->class,\n+                'empty_on_new' => true,\n+                'new_on_update' => true,\n+                'translation_domain' => 'SonataMediaBundle',\n+            ))\n+            ->setRequired(array(\n+                'provider',\n+                'context',\n+            ));\n+\n+        // BC handle for symfony >=2.6","path":"Form/Type/MediaType.php","position":24,"original_position":24,"commit_id":"304988002b03caf31ea78c2bf1a5d75e984677aa","original_commit_id":"304988002b03caf31ea78c2bf1a5d75e984677aa","user":{"login":"OskarStark","id":995707,"avatar_url":"https://avatars.githubusercontent.com/u/995707?v=3","gravatar_id":"","url":"https://api.github.com/users/OskarStark","html_url":"https://github.com/OskarStark","followers_url":"https://api.github.com/users/OskarStark/followers","following_url":"https://api.github.com/users/OskarStark/following{/other_user}","gists_url":"https://api.github.com/users/OskarStark/gists{/gist_id}","starred_url":"https://api.github.com/users/OskarStark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OskarStark/subscriptions","organizations_url":"https://api.github.com/users/OskarStark/orgs","repos_url":"https://api.github.com/users/OskarStark/repos","events_url":"https://api.github.com/users/OskarStark/events{/privacy}","received_events_url":"https://api.github.com/users/OskarStark/received_events","type":"User","site_admin":false},"body":"@NEXT_MAJOR missing","created_at":"2016-08-22T12:04:03Z","updated_at":"2016-08-22T12:04:03Z","html_url":"https://github.com/sonata-project/SonataMediaBundle/pull/1026#discussion_r75664798","pull_request_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/comments/75664798"},"html":{"href":"https://github.com/sonata-project/SonataMediaBundle/pull/1026#discussion_r75664798"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026","id":71822165,"html_url":"https://github.com/sonata-project/SonataMediaBundle/pull/1026","diff_url":"https://github.com/sonata-project/SonataMediaBundle/pull/1026.diff","patch_url":"https://github.com/sonata-project/SonataMediaBundle/pull/1026.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/issues/1026","number":1026,"state":"open","locked":false,"title":"Made form options \"provider\" and \"context\" required in MediaType","user":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"body":"<!-- THE PR TEMPLATE IS NOT AN OPTION. DO NOT DELETE IT! -->\r\n\r\n<!--\r\n    Specify which issues will be fixed/closed.\r\n    Remove it if this is not related.\r\n-->\r\n\r\nRebase of #806\r\n\r\n### Changelog\r\n\r\n<!-- MANDATORY\r\n    Fill the changelog part inside the code block.\r\n    Remove unneeded sections.\r\n    Follow this schema: http://keepachangelog.com/\r\n-->\r\n\r\n```markdown\r\n### Fixed\r\n- The options `provider` and `context` are now required\r\n```\r\n\r\n### Subject\r\n\r\nThe options must be set in order to show the media_type widget.\r\n\r\n### To do\r\n\r\n- [x] Update the tests\r\n\r\n","created_at":"2016-05-29T09:08:01Z","updated_at":"2016-08-22T12:04:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f996ecbee809f53b62929fee34246d7311e4e5b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/issues/1026/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/statuses/304988002b03caf31ea78c2bf1a5d75e984677aa","head":{"label":"core23:patch/media-type-required","ref":"patch/media-type-required","sha":"304988002b03caf31ea78c2bf1a5d75e984677aa","user":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"repo":{"id":31820982,"name":"SonataMediaBundle","full_name":"core23/SonataMediaBundle","owner":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/core23/SonataMediaBundle","description":"Media management bundle on steroid for Symfony2","fork":true,"url":"https://api.github.com/repos/core23/SonataMediaBundle","forks_url":"https://api.github.com/repos/core23/SonataMediaBundle/forks","keys_url":"https://api.github.com/repos/core23/SonataMediaBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/core23/SonataMediaBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/core23/SonataMediaBundle/teams","hooks_url":"https://api.github.com/repos/core23/SonataMediaBundle/hooks","issue_events_url":"https://api.github.com/repos/core23/SonataMediaBundle/issues/events{/number}","events_url":"https://api.github.com/repos/core23/SonataMediaBundle/events","assignees_url":"https://api.github.com/repos/core23/SonataMediaBundle/assignees{/user}","branches_url":"https://api.github.com/repos/core23/SonataMediaBundle/branches{/branch}","tags_url":"https://api.github.com/repos/core23/SonataMediaBundle/tags","blobs_url":"https://api.github.com/repos/core23/SonataMediaBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/core23/SonataMediaBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/core23/SonataMediaBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/core23/SonataMediaBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/core23/SonataMediaBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/core23/SonataMediaBundle/languages","stargazers_url":"https://api.github.com/repos/core23/SonataMediaBundle/stargazers","contributors_url":"https://api.github.com/repos/core23/SonataMediaBundle/contributors","subscribers_url":"https://api.github.com/repos/core23/SonataMediaBundle/subscribers","subscription_url":"https://api.github.com/repos/core23/SonataMediaBundle/subscription","commits_url":"https://api.github.com/repos/core23/SonataMediaBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/core23/SonataMediaBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/core23/SonataMediaBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/core23/SonataMediaBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/core23/SonataMediaBundle/contents/{+path}","compare_url":"https://api.github.com/repos/core23/SonataMediaBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/core23/SonataMediaBundle/merges","archive_url":"https://api.github.com/repos/core23/SonataMediaBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/core23/SonataMediaBundle/downloads","issues_url":"https://api.github.com/repos/core23/SonataMediaBundle/issues{/number}","pulls_url":"https://api.github.com/repos/core23/SonataMediaBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/core23/SonataMediaBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/core23/SonataMediaBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/core23/SonataMediaBundle/labels{/name}","releases_url":"https://api.github.com/repos/core23/SonataMediaBundle/releases{/id}","deployments_url":"https://api.github.com/repos/core23/SonataMediaBundle/deployments","created_at":"2015-03-07T17:40:26Z","updated_at":"2015-03-07T17:42:15Z","pushed_at":"2016-08-20T21:18:12Z","git_url":"git://github.com/core23/SonataMediaBundle.git","ssh_url":"git@github.com:core23/SonataMediaBundle.git","clone_url":"https://github.com/core23/SonataMediaBundle.git","svn_url":"https://github.com/core23/SonataMediaBundle","homepage":"http://sonata-project.org/bundles/media","size":2883,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sonata-project:3.x","ref":"3.x","sha":"eed9e7fdd6c29d0cf42cb85a7586364c3130a6ce","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":1059291,"name":"SonataMediaBundle","full_name":"sonata-project/SonataMediaBundle","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/SonataMediaBundle","description":"Media management bundle on steroid for Symfony2","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataMediaBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sonata-project/SonataMediaBundle/deployments","created_at":"2010-11-07T14:41:46Z","updated_at":"2016-08-20T10:40:56Z","pushed_at":"2016-08-20T21:18:13Z","git_url":"git://github.com/sonata-project/SonataMediaBundle.git","ssh_url":"git@github.com:sonata-project/SonataMediaBundle.git","clone_url":"https://github.com/sonata-project/SonataMediaBundle.git","svn_url":"https://github.com/sonata-project/SonataMediaBundle","homepage":"http://sonata-project.org/bundles/media","size":3951,"stargazers_count":306,"watchers_count":306,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":383,"mirror_url":null,"open_issues_count":122,"forks":383,"open_issues":122,"watchers":306,"default_branch":"3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026"},"html":{"href":"https://github.com/sonata-project/SonataMediaBundle/pull/1026"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/issues/1026"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/issues/1026/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/pulls/1026/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataMediaBundle/statuses/304988002b03caf31ea78c2bf1a5d75e984677aa"}}}}
{"actor":{"display_login":"OskarStark"}}