{"action":"opened","number":64,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-demo/pulls/64","id":34336605,"html_url":"https://github.com/symfony/symfony-demo/pull/64","diff_url":"https://github.com/symfony/symfony-demo/pull/64.diff","patch_url":"https://github.com/symfony/symfony-demo/pull/64.patch","issue_url":"https://api.github.com/repos/symfony/symfony-demo/issues/64","number":64,"state":"open","locked":false,"title":"Fixed the help notes of the AddUser command","user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"body":"In the [run() method of the Command class](https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Console/Command/Command.php#L220-263) you can see the following:\r\n\r\n```php\r\npublic function run(InputInterface $input, OutputInterface $output)\r\n{\r\n    // ...\r\n\r\n    $this->initialize($input, $output);\r\n\r\n    // ...\r\n\r\n    if ($input->isInteractive()) {\r\n        $this->interact($input, $output);\r\n    }\r\n\r\n    // ...\r\n    \r\n    $statusCode = $this->execute($input, $output);\r\n\r\n    return is_numeric($statusCode) ? (int) $statusCode : 0;\r\n}\r\n```\r\n\r\nTherefore, our help note was wrong and the method order is ` initialize()` -> `interact()` -> `execute()`","created_at":"2015-04-29T06:39:24Z","updated_at":"2015-04-29T06:39:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-demo/pulls/64/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-demo/pulls/64/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-demo/issues/64/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-demo/statuses/4af279fb9e61cebbe66010d2767c49b0ab1beadd","head":{"label":"javiereguiluz:fix_63","ref":"fix_63","sha":"4af279fb9e61cebbe66010d2767c49b0ab1beadd","user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"repo":{"id":32811328,"name":"symfony-demo","full_name":"javiereguiluz/symfony-demo","owner":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/javiereguiluz/symfony-demo","description":"","fork":true,"url":"https://api.github.com/repos/javiereguiluz/symfony-demo","forks_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/forks","keys_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/teams","hooks_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/hooks","issue_events_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/issues/events{/number}","events_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/events","assignees_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/assignees{/user}","branches_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/branches{/branch}","tags_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/tags","blobs_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/languages","stargazers_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/stargazers","contributors_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/contributors","subscribers_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/subscribers","subscription_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/subscription","commits_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/contents/{+path}","compare_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/merges","archive_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/downloads","issues_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/issues{/number}","pulls_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/labels{/name}","releases_url":"https://api.github.com/repos/javiereguiluz/symfony-demo/releases{/id}","created_at":"2015-03-24T16:39:10Z","updated_at":"2015-03-24T16:39:11Z","pushed_at":"2015-04-29T06:36:18Z","git_url":"git://github.com/javiereguiluz/symfony-demo.git","ssh_url":"git@github.com:javiereguiluz/symfony-demo.git","clone_url":"https://github.com/javiereguiluz/symfony-demo.git","svn_url":"https://github.com/javiereguiluz/symfony-demo","homepage":null,"size":1208,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"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:master","ref":"master","sha":"d3d7abb8663b43a845e70707102ef61e11c322eb","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":32792088,"name":"symfony-demo","full_name":"symfony/symfony-demo","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-demo","description":"","fork":false,"url":"https://api.github.com/repos/symfony/symfony-demo","forks_url":"https://api.github.com/repos/symfony/symfony-demo/forks","keys_url":"https://api.github.com/repos/symfony/symfony-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-demo/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-demo/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-demo/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-demo/events","assignees_url":"https://api.github.com/repos/symfony/symfony-demo/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-demo/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-demo/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-demo/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-demo/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-demo/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-demo/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-demo/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-demo/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-demo/merges","archive_url":"https://api.github.com/repos/symfony/symfony-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-demo/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-demo/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-demo/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-demo/releases{/id}","created_at":"2015-03-24T10:37:08Z","updated_at":"2015-04-28T20:25:45Z","pushed_at":"2015-04-29T06:39:24Z","git_url":"git://github.com/symfony/symfony-demo.git","ssh_url":"git@github.com:symfony/symfony-demo.git","clone_url":"https://github.com/symfony/symfony-demo.git","svn_url":"https://github.com/symfony/symfony-demo","homepage":null,"size":1777,"stargazers_count":121,"watchers_count":121,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":10,"forks":30,"open_issues":10,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/64"},"html":{"href":"https://github.com/symfony/symfony-demo/pull/64"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-demo/issues/64"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-demo/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-demo/statuses/4af279fb9e61cebbe66010d2767c49b0ab1beadd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":12,"changed_files":1}}