{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/22453470","id":22453470,"diff_hunk":"@@ -194,44 +194,4 @@ instead of\n \n To be able to use the fully set up service container for your console tests\n you can extend your test from\n-:class:`Symfony\\\\Bundle\\\\FrameworkBundle\\\\Test\\\\KernelTestCase`::\n-\n-    use Symfony\\Component\\Console\\Tester\\CommandTester;\n-    use Symfony\\Bundle\\FrameworkBundle\\Console\\Application;\n-    use Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase;\n-    use Acme\\DemoBundle\\Command\\GreetCommand;\n-\n-    class ListCommandTest extends KernelTestCase\n-    {\n-        public function testExecute()\n-        {\n-            $kernel = $this->createKernel();\n-            $kernel->boot();\n-\n-            $application = new Application($kernel);\n-            $application->add(new GreetCommand());\n-\n-            $command = $application->find('demo:greet');\n-            $commandTester = new CommandTester($command);\n-            $commandTester->execute(\n-                array(\n-                    'name'    => 'Fabien',\n-                    '--yell'  => true,\n-                )\n-            );\n-\n-            $this->assertRegExp('/.../', $commandTester->getDisplay());\n-\n-            // ...\n-        }\n-    }","path":"cookbook/console/console_command.rst","position":34,"original_position":34,"commit_id":"1ae9acfb97442b14c6db4e6c487e270fb8decd36","original_commit_id":"1ae9acfb97442b14c6db4e6c487e270fb8decd36","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":"yeah, my script has problems with code examples at the end of a file :)","created_at":"2015-01-05T10:01:51Z","updated_at":"2015-01-05T10:01:51Z","html_url":"https://github.com/symfony/symfony-docs/pull/4769#discussion_r22453470","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/4769","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/22453470"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/4769#discussion_r22453470"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/4769"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/4769","id":26797759,"html_url":"https://github.com/symfony/symfony-docs/pull/4769","diff_url":"https://github.com/symfony/symfony-docs/pull/4769.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/4769.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/4769","number":4769,"state":"open","locked":false,"title":"[2.7] Removed 2.5 versionadded as its deprecated","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":"","created_at":"2015-01-04T18:12:33Z","updated_at":"2015-01-05T10:01:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1132bd3bd6d18144568daf8a675df7acd7834f6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/4769/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/4769/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/4769/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/1ae9acfb97442b14c6db4e6c487e270fb8decd36","head":{"label":"WouterJ:remove-version-added-2.5","ref":"remove-version-added-2.5","sha":"1ae9acfb97442b14c6db4e6c487e270fb8decd36","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-01-04T18:10: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":26417,"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:2.7","ref":"2.7","sha":"c810c694f4500e0424e346db8354c4c550da9d3e","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 Symfony2 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-01-04T23:00:58Z","pushed_at":"2015-01-05T08:27:23Z","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/current/","size":52059,"stargazers_count":944,"watchers_count":944,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1627,"mirror_url":null,"open_issues_count":253,"forks":1627,"open_issues":253,"watchers":944,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/4769"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/4769"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/4769"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/4769/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/4769/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/4769/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/1ae9acfb97442b14c6db4e6c487e270fb8decd36"}}}}