{"action":"created","comment":{"url":"https://api.github.com/repos/api-platform/core/pulls/comments/80883364","pull_request_review_id":1901960,"id":80883364,"diff_hunk":"@@ -0,0 +1,44 @@\n+<?php\n+\n+/*\n+ * This file is part of the API Platform project.\n+ *\n+ * (c) Kévin Dunglas <dunglas@gmail.com>\n+ *\n+ * For the full copyright and license information, please view the LICENSE\n+ * file that was distributed with this source code.\n+ */\n+\n+namespace ApiPlatform\\Core\\Composer;\n+\n+use Composer\\Script\\Event;\n+use Symfony\\Component\\Filesystem\\Filesystem;\n+use Symfony\\Component\\Finder\\Finder;\n+\n+class ScriptHandler\n+{\n+    protected static $destination = '/src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/dist';","path":"src/Composer/ScriptHandler.php","position":20,"original_position":20,"commit_id":"61858673fa9388a5bcb577f196dd03fcb5882e56","original_commit_id":"61858673fa9388a5bcb577f196dd03fcb5882e56","user":{"login":"teohhanhui","id":548843,"avatar_url":"https://avatars.githubusercontent.com/u/548843?v=3","gravatar_id":"","url":"https://api.github.com/users/teohhanhui","html_url":"https://github.com/teohhanhui","followers_url":"https://api.github.com/users/teohhanhui/followers","following_url":"https://api.github.com/users/teohhanhui/following{/other_user}","gists_url":"https://api.github.com/users/teohhanhui/gists{/gist_id}","starred_url":"https://api.github.com/users/teohhanhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teohhanhui/subscriptions","organizations_url":"https://api.github.com/users/teohhanhui/orgs","repos_url":"https://api.github.com/users/teohhanhui/repos","events_url":"https://api.github.com/users/teohhanhui/events{/privacy}","received_events_url":"https://api.github.com/users/teohhanhui/received_events","type":"User","site_admin":false},"body":"Also, we do not want the extraneous `dist` here.","created_at":"2016-09-28T10:10:45Z","updated_at":"2016-09-28T10:14:33Z","html_url":"https://github.com/api-platform/core/pull/768#discussion_r80883364","pull_request_url":"https://api.github.com/repos/api-platform/core/pulls/768","_links":{"self":{"href":"https://api.github.com/repos/api-platform/core/pulls/comments/80883364"},"html":{"href":"https://github.com/api-platform/core/pull/768#discussion_r80883364"},"pull_request":{"href":"https://api.github.com/repos/api-platform/core/pulls/768"}}},"pull_request":{"url":"https://api.github.com/repos/api-platform/core/pulls/768","id":86870023,"html_url":"https://github.com/api-platform/core/pull/768","diff_url":"https://github.com/api-platform/core/pull/768.diff","patch_url":"https://github.com/api-platform/core/pull/768.patch","issue_url":"https://api.github.com/repos/api-platform/core/issues/768","number":768,"state":"open","locked":false,"title":"Use composer for swagger ui","user":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\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        | \r\n\r\n","created_at":"2016-09-27T06:39:28Z","updated_at":"2016-09-28T10:14:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bb4b4e6138b8239f6ffc07242229789a57527d1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/api-platform/core/pulls/768/commits","review_comments_url":"https://api.github.com/repos/api-platform/core/pulls/768/comments","review_comment_url":"https://api.github.com/repos/api-platform/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/api-platform/core/issues/768/comments","statuses_url":"https://api.github.com/repos/api-platform/core/statuses/61858673fa9388a5bcb577f196dd03fcb5882e56","head":{"label":"soyuka:move-swagger","ref":"move-swagger","sha":"61858673fa9388a5bcb577f196dd03fcb5882e56","user":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"repo":{"id":41291626,"name":"core","full_name":"soyuka/core","owner":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soyuka/core","description":"The Hypermedia REST API component of API Platform: JSON-LD and Hydra support, works with Symfony too","fork":true,"url":"https://api.github.com/repos/soyuka/core","forks_url":"https://api.github.com/repos/soyuka/core/forks","keys_url":"https://api.github.com/repos/soyuka/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soyuka/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soyuka/core/teams","hooks_url":"https://api.github.com/repos/soyuka/core/hooks","issue_events_url":"https://api.github.com/repos/soyuka/core/issues/events{/number}","events_url":"https://api.github.com/repos/soyuka/core/events","assignees_url":"https://api.github.com/repos/soyuka/core/assignees{/user}","branches_url":"https://api.github.com/repos/soyuka/core/branches{/branch}","tags_url":"https://api.github.com/repos/soyuka/core/tags","blobs_url":"https://api.github.com/repos/soyuka/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soyuka/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soyuka/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/soyuka/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soyuka/core/statuses/{sha}","languages_url":"https://api.github.com/repos/soyuka/core/languages","stargazers_url":"https://api.github.com/repos/soyuka/core/stargazers","contributors_url":"https://api.github.com/repos/soyuka/core/contributors","subscribers_url":"https://api.github.com/repos/soyuka/core/subscribers","subscription_url":"https://api.github.com/repos/soyuka/core/subscription","commits_url":"https://api.github.com/repos/soyuka/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/soyuka/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/soyuka/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/soyuka/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/soyuka/core/contents/{+path}","compare_url":"https://api.github.com/repos/soyuka/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soyuka/core/merges","archive_url":"https://api.github.com/repos/soyuka/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soyuka/core/downloads","issues_url":"https://api.github.com/repos/soyuka/core/issues{/number}","pulls_url":"https://api.github.com/repos/soyuka/core/pulls{/number}","milestones_url":"https://api.github.com/repos/soyuka/core/milestones{/number}","notifications_url":"https://api.github.com/repos/soyuka/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soyuka/core/labels{/name}","releases_url":"https://api.github.com/repos/soyuka/core/releases{/id}","deployments_url":"https://api.github.com/repos/soyuka/core/deployments","created_at":"2015-08-24T08:32:34Z","updated_at":"2016-08-26T09:39:35Z","pushed_at":"2016-09-28T07:56:45Z","git_url":"git://github.com/soyuka/core.git","ssh_url":"git@github.com:soyuka/core.git","clone_url":"https://github.com/soyuka/core.git","svn_url":"https://github.com/soyuka/core","homepage":"https://api-platform.com","size":3565,"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":"api-platform:master","ref":"master","sha":"2d252cfe1a188cc0d05c70a78d111b7e54c6d650","user":{"login":"api-platform","id":13420081,"avatar_url":"https://avatars.githubusercontent.com/u/13420081?v=3","gravatar_id":"","url":"https://api.github.com/users/api-platform","html_url":"https://github.com/api-platform","followers_url":"https://api.github.com/users/api-platform/followers","following_url":"https://api.github.com/users/api-platform/following{/other_user}","gists_url":"https://api.github.com/users/api-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/api-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/api-platform/subscriptions","organizations_url":"https://api.github.com/users/api-platform/orgs","repos_url":"https://api.github.com/users/api-platform/repos","events_url":"https://api.github.com/users/api-platform/events{/privacy}","received_events_url":"https://api.github.com/users/api-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":29501260,"name":"core","full_name":"api-platform/core","owner":{"login":"api-platform","id":13420081,"avatar_url":"https://avatars.githubusercontent.com/u/13420081?v=3","gravatar_id":"","url":"https://api.github.com/users/api-platform","html_url":"https://github.com/api-platform","followers_url":"https://api.github.com/users/api-platform/followers","following_url":"https://api.github.com/users/api-platform/following{/other_user}","gists_url":"https://api.github.com/users/api-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/api-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/api-platform/subscriptions","organizations_url":"https://api.github.com/users/api-platform/orgs","repos_url":"https://api.github.com/users/api-platform/repos","events_url":"https://api.github.com/users/api-platform/events{/privacy}","received_events_url":"https://api.github.com/users/api-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/api-platform/core","description":"The Hypermedia REST API component of API Platform: JSON-LD and Hydra support, works with Symfony too","fork":false,"url":"https://api.github.com/repos/api-platform/core","forks_url":"https://api.github.com/repos/api-platform/core/forks","keys_url":"https://api.github.com/repos/api-platform/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/api-platform/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/api-platform/core/teams","hooks_url":"https://api.github.com/repos/api-platform/core/hooks","issue_events_url":"https://api.github.com/repos/api-platform/core/issues/events{/number}","events_url":"https://api.github.com/repos/api-platform/core/events","assignees_url":"https://api.github.com/repos/api-platform/core/assignees{/user}","branches_url":"https://api.github.com/repos/api-platform/core/branches{/branch}","tags_url":"https://api.github.com/repos/api-platform/core/tags","blobs_url":"https://api.github.com/repos/api-platform/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/api-platform/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/api-platform/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/api-platform/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/api-platform/core/statuses/{sha}","languages_url":"https://api.github.com/repos/api-platform/core/languages","stargazers_url":"https://api.github.com/repos/api-platform/core/stargazers","contributors_url":"https://api.github.com/repos/api-platform/core/contributors","subscribers_url":"https://api.github.com/repos/api-platform/core/subscribers","subscription_url":"https://api.github.com/repos/api-platform/core/subscription","commits_url":"https://api.github.com/repos/api-platform/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/api-platform/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/api-platform/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/api-platform/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/api-platform/core/contents/{+path}","compare_url":"https://api.github.com/repos/api-platform/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/api-platform/core/merges","archive_url":"https://api.github.com/repos/api-platform/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/api-platform/core/downloads","issues_url":"https://api.github.com/repos/api-platform/core/issues{/number}","pulls_url":"https://api.github.com/repos/api-platform/core/pulls{/number}","milestones_url":"https://api.github.com/repos/api-platform/core/milestones{/number}","notifications_url":"https://api.github.com/repos/api-platform/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/api-platform/core/labels{/name}","releases_url":"https://api.github.com/repos/api-platform/core/releases{/id}","deployments_url":"https://api.github.com/repos/api-platform/core/deployments","created_at":"2015-01-19T23:05:56Z","updated_at":"2016-09-20T09:30:39Z","pushed_at":"2016-09-28T08:41:58Z","git_url":"git://github.com/api-platform/core.git","ssh_url":"git@github.com:api-platform/core.git","clone_url":"https://github.com/api-platform/core.git","svn_url":"https://github.com/api-platform/core","homepage":"https://api-platform.com","size":4301,"stargazers_count":350,"watchers_count":350,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":61,"forks":96,"open_issues":61,"watchers":350,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/api-platform/core/pulls/768"},"html":{"href":"https://github.com/api-platform/core/pull/768"},"issue":{"href":"https://api.github.com/repos/api-platform/core/issues/768"},"comments":{"href":"https://api.github.com/repos/api-platform/core/issues/768/comments"},"review_comments":{"href":"https://api.github.com/repos/api-platform/core/pulls/768/comments"},"review_comment":{"href":"https://api.github.com/repos/api-platform/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/api-platform/core/pulls/768/commits"},"statuses":{"href":"https://api.github.com/repos/api-platform/core/statuses/61858673fa9388a5bcb577f196dd03fcb5882e56"}}}}
{"actor":{"display_login":"teohhanhui"}}