{"action":"closed","number":13733,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/13733","id":29532070,"html_url":"https://github.com/symfony/symfony/pull/13733","diff_url":"https://github.com/symfony/symfony/pull/13733.diff","patch_url":"https://github.com/symfony/symfony/pull/13733.patch","issue_url":"https://api.github.com/repos/symfony/symfony/issues/13733","number":13733,"state":"closed","locked":false,"title":"[2.3][Process] Fixed PhpProcess::getCommandLine() result","user":{"login":"francisbesset","id":471525,"avatar_url":"https://avatars.githubusercontent.com/u/471525?v=3","gravatar_id":"","url":"https://api.github.com/users/francisbesset","html_url":"https://github.com/francisbesset","followers_url":"https://api.github.com/users/francisbesset/followers","following_url":"https://api.github.com/users/francisbesset/following{/other_user}","gists_url":"https://api.github.com/users/francisbesset/gists{/gist_id}","starred_url":"https://api.github.com/users/francisbesset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisbesset/subscriptions","organizations_url":"https://api.github.com/users/francisbesset/orgs","repos_url":"https://api.github.com/users/francisbesset/repos","events_url":"https://api.github.com/users/francisbesset/events{/privacy}","received_events_url":"https://api.github.com/users/francisbesset/received_events","type":"User","site_admin":false},"body":"The `PhpProcess::getCommandLine()` return `null` if `PhpProcess::start()` was not called.\r\n\r\n```php\r\n$process = new PhpProcess(<<<PHP\r\n<?php echo \"foobar\";\r\nPHP\r\n);\r\n\r\n$process->getCommandLine(); // return null\r\n$process->start();\r\n$process->getCommandLine(); // return the PHP binary path\r\n```\r\n\r\nThis PR fix the problem.\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | \r\n| License       | MIT\r\n| Doc PR        | -","created_at":"2015-02-18T15:06:34Z","updated_at":"2015-02-24T08:52:34Z","closed_at":"2015-02-24T08:52:34Z","merged_at":null,"merge_commit_sha":"9f51219c33135c222deb7863e5dfe4c1f32d49a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony/pulls/13733/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony/pulls/13733/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/13733/comments","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/6584323576f91966e81a04f6ca842d2ca7f6821c","head":{"label":"francisbesset:process_phpprocess_commandline","ref":"process_phpprocess_commandline","sha":"6584323576f91966e81a04f6ca842d2ca7f6821c","user":{"login":"francisbesset","id":471525,"avatar_url":"https://avatars.githubusercontent.com/u/471525?v=3","gravatar_id":"","url":"https://api.github.com/users/francisbesset","html_url":"https://github.com/francisbesset","followers_url":"https://api.github.com/users/francisbesset/followers","following_url":"https://api.github.com/users/francisbesset/following{/other_user}","gists_url":"https://api.github.com/users/francisbesset/gists{/gist_id}","starred_url":"https://api.github.com/users/francisbesset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisbesset/subscriptions","organizations_url":"https://api.github.com/users/francisbesset/orgs","repos_url":"https://api.github.com/users/francisbesset/repos","events_url":"https://api.github.com/users/francisbesset/events{/privacy}","received_events_url":"https://api.github.com/users/francisbesset/received_events","type":"User","site_admin":false},"repo":{"id":1397375,"name":"symfony","full_name":"francisbesset/symfony","owner":{"login":"francisbesset","id":471525,"avatar_url":"https://avatars.githubusercontent.com/u/471525?v=3","gravatar_id":"","url":"https://api.github.com/users/francisbesset","html_url":"https://github.com/francisbesset","followers_url":"https://api.github.com/users/francisbesset/followers","following_url":"https://api.github.com/users/francisbesset/following{/other_user}","gists_url":"https://api.github.com/users/francisbesset/gists{/gist_id}","starred_url":"https://api.github.com/users/francisbesset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisbesset/subscriptions","organizations_url":"https://api.github.com/users/francisbesset/orgs","repos_url":"https://api.github.com/users/francisbesset/repos","events_url":"https://api.github.com/users/francisbesset/events{/privacy}","received_events_url":"https://api.github.com/users/francisbesset/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/francisbesset/symfony","description":"The Symfony PHP framework","fork":true,"url":"https://api.github.com/repos/francisbesset/symfony","forks_url":"https://api.github.com/repos/francisbesset/symfony/forks","keys_url":"https://api.github.com/repos/francisbesset/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/francisbesset/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/francisbesset/symfony/teams","hooks_url":"https://api.github.com/repos/francisbesset/symfony/hooks","issue_events_url":"https://api.github.com/repos/francisbesset/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/francisbesset/symfony/events","assignees_url":"https://api.github.com/repos/francisbesset/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/francisbesset/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/francisbesset/symfony/tags","blobs_url":"https://api.github.com/repos/francisbesset/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/francisbesset/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/francisbesset/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/francisbesset/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/francisbesset/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/francisbesset/symfony/languages","stargazers_url":"https://api.github.com/repos/francisbesset/symfony/stargazers","contributors_url":"https://api.github.com/repos/francisbesset/symfony/contributors","subscribers_url":"https://api.github.com/repos/francisbesset/symfony/subscribers","subscription_url":"https://api.github.com/repos/francisbesset/symfony/subscription","commits_url":"https://api.github.com/repos/francisbesset/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/francisbesset/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/francisbesset/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/francisbesset/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/francisbesset/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/francisbesset/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/francisbesset/symfony/merges","archive_url":"https://api.github.com/repos/francisbesset/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/francisbesset/symfony/downloads","issues_url":"https://api.github.com/repos/francisbesset/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/francisbesset/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/francisbesset/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/francisbesset/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/francisbesset/symfony/labels{/name}","releases_url":"https://api.github.com/repos/francisbesset/symfony/releases{/id}","created_at":"2011-02-22T12:13:26Z","updated_at":"2015-02-18T14:14:37Z","pushed_at":"2015-02-23T12:16:42Z","git_url":"git://github.com/francisbesset/symfony.git","ssh_url":"git@github.com:francisbesset/symfony.git","clone_url":"https://github.com/francisbesset/symfony.git","svn_url":"https://github.com/francisbesset/symfony","homepage":"http://symfony.com","size":52595,"stargazers_count":1,"watchers_count":1,"language":"PHP","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":1,"default_branch":"master"}},"base":{"label":"symfony:2.3","ref":"2.3","sha":"19aa6dcf65e51f2d83e953e64cff69041d4b2174","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":458058,"name":"symfony","full_name":"symfony/symfony","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","description":"The Symfony PHP framework","fork":false,"url":"https://api.github.com/repos/symfony/symfony","forks_url":"https://api.github.com/repos/symfony/symfony/forks","keys_url":"https://api.github.com/repos/symfony/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony/teams","hooks_url":"https://api.github.com/repos/symfony/symfony/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony/events","assignees_url":"https://api.github.com/repos/symfony/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony/tags","blobs_url":"https://api.github.com/repos/symfony/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony/subscription","commits_url":"https://api.github.com/repos/symfony/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony/merges","archive_url":"https://api.github.com/repos/symfony/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony/downloads","issues_url":"https://api.github.com/repos/symfony/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony/releases{/id}","created_at":"2010-01-04T14:21:21Z","updated_at":"2015-02-24T07:22:15Z","pushed_at":"2015-02-24T08:52:24Z","git_url":"git://github.com/symfony/symfony.git","ssh_url":"git@github.com:symfony/symfony.git","clone_url":"https://github.com/symfony/symfony.git","svn_url":"https://github.com/symfony/symfony","homepage":"symfony.com","size":193229,"stargazers_count":9734,"watchers_count":9734,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3799,"mirror_url":null,"open_issues_count":742,"forks":3799,"open_issues":742,"watchers":9734,"default_branch":"2.7"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/13733"},"html":{"href":"https://github.com/symfony/symfony/pull/13733"},"issue":{"href":"https://api.github.com/repos/symfony/symfony/issues/13733"},"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/13733/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/13733/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony/pulls/13733/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony/statuses/6584323576f91966e81a04f6ca842d2ca7f6821c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":3,"commits":2,"additions":26,"deletions":8,"changed_files":2}}