{"action":"reopened","number":52,"pull_request":{"url":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/52","id":29492349,"html_url":"https://github.com/alecsammon/php-raml-parser/pull/52","diff_url":"https://github.com/alecsammon/php-raml-parser/pull/52.diff","patch_url":"https://github.com/alecsammon/php-raml-parser/pull/52.patch","issue_url":"https://api.github.com/repos/alecsammon/php-raml-parser/issues/52","number":52,"state":"open","locked":false,"title":"SymfonyRouteFormatter minor update","user":{"login":"brendo","id":69268,"avatar_url":"https://avatars.githubusercontent.com/u/69268?v=3","gravatar_id":"","url":"https://api.github.com/users/brendo","html_url":"https://github.com/brendo","followers_url":"https://api.github.com/users/brendo/followers","following_url":"https://api.github.com/users/brendo/following{/other_user}","gists_url":"https://api.github.com/users/brendo/gists{/gist_id}","starred_url":"https://api.github.com/users/brendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendo/subscriptions","organizations_url":"https://api.github.com/users/brendo/orgs","repos_url":"https://api.github.com/users/brendo/repos","events_url":"https://api.github.com/users/brendo/events{/privacy}","received_events_url":"https://api.github.com/users/brendo/received_events","type":"User","site_admin":false},"body":"This PR adds the host to the routes returned in the Symfony RouteCollection by using the `getBaseUri()`. This is useful if the Api Definition makes use of the named parameter, `{version}` (which will be replaced accordingly).\r\n\r\nAlso includes a tiny addition to a test case for a little extra coverage.","created_at":"2015-02-18T00:44:35Z","updated_at":"2015-02-18T02:08:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bffcd953f43f9a4c9db3e82e6c45eb8a8e05c677","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/52/commits","review_comments_url":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/52/comments","review_comment_url":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alecsammon/php-raml-parser/issues/52/comments","statuses_url":"https://api.github.com/repos/alecsammon/php-raml-parser/statuses/717c4d1a9ed448dcd44a78e61df20c16f8dacf4b","head":{"label":"brendo:master","ref":"master","sha":"717c4d1a9ed448dcd44a78e61df20c16f8dacf4b","user":{"login":"brendo","id":69268,"avatar_url":"https://avatars.githubusercontent.com/u/69268?v=3","gravatar_id":"","url":"https://api.github.com/users/brendo","html_url":"https://github.com/brendo","followers_url":"https://api.github.com/users/brendo/followers","following_url":"https://api.github.com/users/brendo/following{/other_user}","gists_url":"https://api.github.com/users/brendo/gists{/gist_id}","starred_url":"https://api.github.com/users/brendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendo/subscriptions","organizations_url":"https://api.github.com/users/brendo/orgs","repos_url":"https://api.github.com/users/brendo/repos","events_url":"https://api.github.com/users/brendo/events{/privacy}","received_events_url":"https://api.github.com/users/brendo/received_events","type":"User","site_admin":false},"repo":{"id":26887342,"name":"php-raml-parser","full_name":"brendo/php-raml-parser","owner":{"login":"brendo","id":69268,"avatar_url":"https://avatars.githubusercontent.com/u/69268?v=3","gravatar_id":"","url":"https://api.github.com/users/brendo","html_url":"https://github.com/brendo","followers_url":"https://api.github.com/users/brendo/followers","following_url":"https://api.github.com/users/brendo/following{/other_user}","gists_url":"https://api.github.com/users/brendo/gists{/gist_id}","starred_url":"https://api.github.com/users/brendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendo/subscriptions","organizations_url":"https://api.github.com/users/brendo/orgs","repos_url":"https://api.github.com/users/brendo/repos","events_url":"https://api.github.com/users/brendo/events{/privacy}","received_events_url":"https://api.github.com/users/brendo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brendo/php-raml-parser","description":"A RAML parser built in php","fork":true,"url":"https://api.github.com/repos/brendo/php-raml-parser","forks_url":"https://api.github.com/repos/brendo/php-raml-parser/forks","keys_url":"https://api.github.com/repos/brendo/php-raml-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brendo/php-raml-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brendo/php-raml-parser/teams","hooks_url":"https://api.github.com/repos/brendo/php-raml-parser/hooks","issue_events_url":"https://api.github.com/repos/brendo/php-raml-parser/issues/events{/number}","events_url":"https://api.github.com/repos/brendo/php-raml-parser/events","assignees_url":"https://api.github.com/repos/brendo/php-raml-parser/assignees{/user}","branches_url":"https://api.github.com/repos/brendo/php-raml-parser/branches{/branch}","tags_url":"https://api.github.com/repos/brendo/php-raml-parser/tags","blobs_url":"https://api.github.com/repos/brendo/php-raml-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brendo/php-raml-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brendo/php-raml-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/brendo/php-raml-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brendo/php-raml-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/brendo/php-raml-parser/languages","stargazers_url":"https://api.github.com/repos/brendo/php-raml-parser/stargazers","contributors_url":"https://api.github.com/repos/brendo/php-raml-parser/contributors","subscribers_url":"https://api.github.com/repos/brendo/php-raml-parser/subscribers","subscription_url":"https://api.github.com/repos/brendo/php-raml-parser/subscription","commits_url":"https://api.github.com/repos/brendo/php-raml-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/brendo/php-raml-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/brendo/php-raml-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/brendo/php-raml-parser/issues/comments/{number}","contents_url":"https://api.github.com/repos/brendo/php-raml-parser/contents/{+path}","compare_url":"https://api.github.com/repos/brendo/php-raml-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brendo/php-raml-parser/merges","archive_url":"https://api.github.com/repos/brendo/php-raml-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brendo/php-raml-parser/downloads","issues_url":"https://api.github.com/repos/brendo/php-raml-parser/issues{/number}","pulls_url":"https://api.github.com/repos/brendo/php-raml-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/brendo/php-raml-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/brendo/php-raml-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brendo/php-raml-parser/labels{/name}","releases_url":"https://api.github.com/repos/brendo/php-raml-parser/releases{/id}","created_at":"2014-11-19T23:54:57Z","updated_at":"2015-02-18T02:07:56Z","pushed_at":"2015-02-18T02:07:56Z","git_url":"git://github.com/brendo/php-raml-parser.git","ssh_url":"git@github.com:brendo/php-raml-parser.git","clone_url":"https://github.com/brendo/php-raml-parser.git","svn_url":"https://github.com/brendo/php-raml-parser","homepage":"","size":486,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"alecsammon:master","ref":"master","sha":"d8ed882321615d07f02bd3c7e3d7a1990b5def85","user":{"login":"alecsammon","id":304636,"avatar_url":"https://avatars.githubusercontent.com/u/304636?v=3","gravatar_id":"","url":"https://api.github.com/users/alecsammon","html_url":"https://github.com/alecsammon","followers_url":"https://api.github.com/users/alecsammon/followers","following_url":"https://api.github.com/users/alecsammon/following{/other_user}","gists_url":"https://api.github.com/users/alecsammon/gists{/gist_id}","starred_url":"https://api.github.com/users/alecsammon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecsammon/subscriptions","organizations_url":"https://api.github.com/users/alecsammon/orgs","repos_url":"https://api.github.com/users/alecsammon/repos","events_url":"https://api.github.com/users/alecsammon/events{/privacy}","received_events_url":"https://api.github.com/users/alecsammon/received_events","type":"User","site_admin":false},"repo":{"id":18877289,"name":"php-raml-parser","full_name":"alecsammon/php-raml-parser","owner":{"login":"alecsammon","id":304636,"avatar_url":"https://avatars.githubusercontent.com/u/304636?v=3","gravatar_id":"","url":"https://api.github.com/users/alecsammon","html_url":"https://github.com/alecsammon","followers_url":"https://api.github.com/users/alecsammon/followers","following_url":"https://api.github.com/users/alecsammon/following{/other_user}","gists_url":"https://api.github.com/users/alecsammon/gists{/gist_id}","starred_url":"https://api.github.com/users/alecsammon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecsammon/subscriptions","organizations_url":"https://api.github.com/users/alecsammon/orgs","repos_url":"https://api.github.com/users/alecsammon/repos","events_url":"https://api.github.com/users/alecsammon/events{/privacy}","received_events_url":"https://api.github.com/users/alecsammon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alecsammon/php-raml-parser","description":"A RAML parser built in php","fork":false,"url":"https://api.github.com/repos/alecsammon/php-raml-parser","forks_url":"https://api.github.com/repos/alecsammon/php-raml-parser/forks","keys_url":"https://api.github.com/repos/alecsammon/php-raml-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alecsammon/php-raml-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alecsammon/php-raml-parser/teams","hooks_url":"https://api.github.com/repos/alecsammon/php-raml-parser/hooks","issue_events_url":"https://api.github.com/repos/alecsammon/php-raml-parser/issues/events{/number}","events_url":"https://api.github.com/repos/alecsammon/php-raml-parser/events","assignees_url":"https://api.github.com/repos/alecsammon/php-raml-parser/assignees{/user}","branches_url":"https://api.github.com/repos/alecsammon/php-raml-parser/branches{/branch}","tags_url":"https://api.github.com/repos/alecsammon/php-raml-parser/tags","blobs_url":"https://api.github.com/repos/alecsammon/php-raml-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alecsammon/php-raml-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alecsammon/php-raml-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/alecsammon/php-raml-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alecsammon/php-raml-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/alecsammon/php-raml-parser/languages","stargazers_url":"https://api.github.com/repos/alecsammon/php-raml-parser/stargazers","contributors_url":"https://api.github.com/repos/alecsammon/php-raml-parser/contributors","subscribers_url":"https://api.github.com/repos/alecsammon/php-raml-parser/subscribers","subscription_url":"https://api.github.com/repos/alecsammon/php-raml-parser/subscription","commits_url":"https://api.github.com/repos/alecsammon/php-raml-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/alecsammon/php-raml-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/alecsammon/php-raml-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/alecsammon/php-raml-parser/issues/comments/{number}","contents_url":"https://api.github.com/repos/alecsammon/php-raml-parser/contents/{+path}","compare_url":"https://api.github.com/repos/alecsammon/php-raml-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alecsammon/php-raml-parser/merges","archive_url":"https://api.github.com/repos/alecsammon/php-raml-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alecsammon/php-raml-parser/downloads","issues_url":"https://api.github.com/repos/alecsammon/php-raml-parser/issues{/number}","pulls_url":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/alecsammon/php-raml-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/alecsammon/php-raml-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alecsammon/php-raml-parser/labels{/name}","releases_url":"https://api.github.com/repos/alecsammon/php-raml-parser/releases{/id}","created_at":"2014-04-17T12:19:32Z","updated_at":"2015-02-15T18:14:17Z","pushed_at":"2015-02-17T18:58:08Z","git_url":"git://github.com/alecsammon/php-raml-parser.git","ssh_url":"git@github.com:alecsammon/php-raml-parser.git","clone_url":"https://github.com/alecsammon/php-raml-parser.git","svn_url":"https://github.com/alecsammon/php-raml-parser","homepage":"","size":1292,"stargazers_count":57,"watchers_count":57,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":5,"forks":16,"open_issues":5,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/52"},"html":{"href":"https://github.com/alecsammon/php-raml-parser/pull/52"},"issue":{"href":"https://api.github.com/repos/alecsammon/php-raml-parser/issues/52"},"comments":{"href":"https://api.github.com/repos/alecsammon/php-raml-parser/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alecsammon/php-raml-parser/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/alecsammon/php-raml-parser/statuses/717c4d1a9ed448dcd44a78e61df20c16f8dacf4b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":3,"additions":33,"deletions":4,"changed_files":4}}