{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/33960128","id":33960128,"diff_hunk":"@@ -121,6 +121,15 @@ To use this component, add it as a dependency of the project:\n \n Running this command will also automatically download the Symfony\n HttpFoundation component and install it under the ``vendor/`` directory.\n+A ``composer.json`` and a ``composer.lock`` file will be generated as well:\n+\n+.. code-block:: json\n+\n+    // composer.json","path":"create_framework/http-foundation.rst","position":8,"original_position":8,"commit_id":"52f124e50474130a90857a946a12d6181ed71837","original_commit_id":"52f124e50474130a90857a946a12d6181ed71837","user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"body":"Well, I don't consider this as an issue with the syntax highlighting. It's just that someone will probably copy the code example and will then run into syntax errors because the example itself is no valid JSON.\r\n\r\nI would rather change the example and maybe write an explanation below the code.","created_at":"2015-07-06T17:35:46Z","updated_at":"2015-07-06T17:35:46Z","html_url":"https://github.com/symfony/symfony-docs/pull/5491#discussion_r33960128","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5491","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/33960128"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5491#discussion_r33960128"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5491"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5491","id":39256333,"html_url":"https://github.com/symfony/symfony-docs/pull/5491","diff_url":"https://github.com/symfony/symfony-docs/pull/5491.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/5491.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5491","number":5491,"state":"open","locked":false,"title":"added composer info","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":"","created_at":"2015-07-06T10:58:14Z","updated_at":"2015-07-06T17:35:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8016cf4f6da9c98b084875d9bda96cd76eb081c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5491/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5491/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/5491/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/52f124e50474130a90857a946a12d6181ed71837","head":{"label":"OskarStark:composer-info","ref":"composer-info","sha":"52f124e50474130a90857a946a12d6181ed71837","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},"repo":{"id":20248253,"name":"symfony-docs","full_name":"OskarStark/symfony-docs","owner":{"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},"private":false,"html_url":"https://github.com/OskarStark/symfony-docs","description":"The Symfony2 documentation","fork":true,"url":"https://api.github.com/repos/OskarStark/symfony-docs","forks_url":"https://api.github.com/repos/OskarStark/symfony-docs/forks","keys_url":"https://api.github.com/repos/OskarStark/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OskarStark/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OskarStark/symfony-docs/teams","hooks_url":"https://api.github.com/repos/OskarStark/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/OskarStark/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/OskarStark/symfony-docs/events","assignees_url":"https://api.github.com/repos/OskarStark/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/OskarStark/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/OskarStark/symfony-docs/tags","blobs_url":"https://api.github.com/repos/OskarStark/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OskarStark/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OskarStark/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/OskarStark/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OskarStark/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/OskarStark/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/OskarStark/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/OskarStark/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/OskarStark/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/OskarStark/symfony-docs/subscription","commits_url":"https://api.github.com/repos/OskarStark/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/OskarStark/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/OskarStark/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/OskarStark/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/OskarStark/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/OskarStark/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OskarStark/symfony-docs/merges","archive_url":"https://api.github.com/repos/OskarStark/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OskarStark/symfony-docs/downloads","issues_url":"https://api.github.com/repos/OskarStark/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/OskarStark/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/OskarStark/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/OskarStark/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OskarStark/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/OskarStark/symfony-docs/releases{/id}","created_at":"2014-05-28T07:06:42Z","updated_at":"2014-05-28T07:06:46Z","pushed_at":"2015-07-06T17:29:19Z","git_url":"git://github.com/OskarStark/symfony-docs.git","ssh_url":"git@github.com:OskarStark/symfony-docs.git","clone_url":"https://github.com/OskarStark/symfony-docs.git","svn_url":"https://github.com/OskarStark/symfony-docs","homepage":"http://symfony.com/doc/current/","size":30234,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"symfony:2.7","ref":"2.7","sha":"eff6e9cf79a032a1c8bef571f6579f4a7fa3bc96","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-07-02T14:31:46Z","pushed_at":"2015-07-06T16:01:14Z","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":62072,"stargazers_count":998,"watchers_count":998,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1926,"mirror_url":null,"open_issues_count":272,"forks":1926,"open_issues":272,"watchers":998,"default_branch":"2.7"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5491"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5491"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5491"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5491/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5491/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/5491/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/52f124e50474130a90857a946a12d6181ed71837"}}}}