{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/42319064","id":42319064,"diff_hunk":"@@ -1929,12 +1927,12 @@ but here's a short example:\n .. tip::\n \n     If you are using validation groups, you need to either reference the\n-    ``Default`` group when creating the form, or set the correct group on\n+    ``Default`` group when creating the form or set the correct group on\n     the constraint you are adding.\n \n-.. code-block:: php\n+    .. code-block:: php","path":"book/forms.rst","position":411,"original_position":411,"commit_id":"ee2a2441ed888845b2789b7da73aa794db2907a3","original_commit_id":"ee2a2441ed888845b2789b7da73aa794db2907a3","user":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"body":"yes","created_at":"2015-10-18T09:36:00Z","updated_at":"2015-10-18T09:36:00Z","html_url":"https://github.com/symfony/symfony-docs/pull/5800#discussion_r42319064","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/42319064"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5800#discussion_r42319064"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800","id":47984106,"html_url":"https://github.com/symfony/symfony-docs/pull/5800","diff_url":"https://github.com/symfony/symfony-docs/pull/5800.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/5800.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5800","number":5800,"state":"open","locked":false,"title":"[3.0] First round of Form deprecation removals","user":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"body":"Forms has changed a lot, so it'll take many rounds and much time to get things right for 3.0. Let's start with this PR and create new PRs based on this.\r\n\r\nI propose to only apply the deprecation of field types to the 3.0 version of the docs. In this version, PHP 5.5 is the minimum PHP version, so we can use the much nicer `::class` constant instead of passing a 40+ long string each time.\r\n\r\nI just did a quick review & change round for the best practices, book and component docs. It's very likely that some other text still needs to be updated in these articles and the cookbook and references needs changes as well. I think it's better to do these things in separate PRs to avoid big PRs with lots of merge conflicts.\r\n\r\n| Q | A\r\n| --- | ---\r\n| Doc fix? | no\r\n| New docs? | yes\r\n| Applies to | 3.0+\r\n| Fixed tickets | -","created_at":"2015-10-17T10:30:11Z","updated_at":"2015-10-18T09:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"536dd1ce13fe2f547198d901e7719c0588a803d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5800/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/ee2a2441ed888845b2789b7da73aa794db2907a3","head":{"label":"WouterJ:forms-3.0","ref":"forms-3.0","sha":"ee2a2441ed888845b2789b7da73aa794db2907a3","user":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"repo":{"id":4110264,"name":"symfony-docs","full_name":"WouterJ/symfony-docs","owner":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WouterJ/symfony-docs","description":"The Symfony2 documentation","fork":true,"url":"https://api.github.com/repos/WouterJ/symfony-docs","forks_url":"https://api.github.com/repos/WouterJ/symfony-docs/forks","keys_url":"https://api.github.com/repos/WouterJ/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WouterJ/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WouterJ/symfony-docs/teams","hooks_url":"https://api.github.com/repos/WouterJ/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/WouterJ/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/WouterJ/symfony-docs/events","assignees_url":"https://api.github.com/repos/WouterJ/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/WouterJ/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/WouterJ/symfony-docs/tags","blobs_url":"https://api.github.com/repos/WouterJ/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WouterJ/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WouterJ/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/WouterJ/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WouterJ/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/WouterJ/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/WouterJ/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/WouterJ/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/WouterJ/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/WouterJ/symfony-docs/subscription","commits_url":"https://api.github.com/repos/WouterJ/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/WouterJ/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/WouterJ/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/WouterJ/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/WouterJ/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/WouterJ/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WouterJ/symfony-docs/merges","archive_url":"https://api.github.com/repos/WouterJ/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WouterJ/symfony-docs/downloads","issues_url":"https://api.github.com/repos/WouterJ/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/WouterJ/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/WouterJ/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/WouterJ/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WouterJ/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/WouterJ/symfony-docs/releases{/id}","created_at":"2012-04-23T06:36:17Z","updated_at":"2014-06-14T16:16:46Z","pushed_at":"2015-10-17T10:25:49Z","git_url":"git://github.com/WouterJ/symfony-docs.git","ssh_url":"git@github.com:WouterJ/symfony-docs.git","clone_url":"https://github.com/WouterJ/symfony-docs.git","svn_url":"https://github.com/WouterJ/symfony-docs","homepage":"http://symfony.com/doc/2.0/","size":33163,"stargazers_count":0,"watchers_count":0,"language":"Lasso","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony:master","ref":"master","sha":"71d51f8c15629a250d4b54aa9046286eec7be96f","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":521583,"name":"symfony-docs","full_name":"symfony/symfony-docs","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-docs","description":"The Symfony documentation","fork":false,"url":"https://api.github.com/repos/symfony/symfony-docs","forks_url":"https://api.github.com/repos/symfony/symfony-docs/forks","keys_url":"https://api.github.com/repos/symfony/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-docs/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-docs/events","assignees_url":"https://api.github.com/repos/symfony/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-docs/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-docs/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-docs/merges","archive_url":"https://api.github.com/repos/symfony/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-docs/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-docs/releases{/id}","created_at":"2010-02-17T08:43:51Z","updated_at":"2015-10-16T15:05:40Z","pushed_at":"2015-10-17T10:35:44Z","git_url":"git://github.com/symfony/symfony-docs.git","ssh_url":"git@github.com:symfony/symfony-docs.git","clone_url":"https://github.com/symfony/symfony-docs.git","svn_url":"https://github.com/symfony/symfony-docs","homepage":"http://symfony.com/doc","size":63909,"stargazers_count":1036,"watchers_count":1036,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2051,"mirror_url":null,"open_issues_count":291,"forks":2051,"open_issues":291,"watchers":1036,"default_branch":"2.8"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5800"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5800"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5800/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5800/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/ee2a2441ed888845b2789b7da73aa794db2907a3"}}}}