{"action":"closed","number":428,"pull_request":{"url":"https://api.github.com/repos/robmorgan/phinx/pulls/428","id":26744401,"html_url":"https://github.com/robmorgan/phinx/pull/428","diff_url":"https://github.com/robmorgan/phinx/pull/428.diff","patch_url":"https://github.com/robmorgan/phinx/pull/428.patch","issue_url":"https://api.github.com/repos/robmorgan/phinx/issues/428","number":428,"state":"closed","locked":false,"title":"Create WrapperInterface and AdapterWrapper, refs #413","user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"body":"By creating an abstract wrapper class, we can reduce amount of duplication\nbetween ProxyAdapter and TablePrefixAdapter, while providing a more consistent\ninterface for future development of additional wrappers.\n\n- Add missing setOptions/getOptions to AdapterInterface\n- use AdapterWrapper for TablePrefixAdapter\n- use AdapterWrapper for ProxyAdapter\n- update ProxyAdapter and TablePrefixAdapter usage in Environment","created_at":"2015-01-01T16:30:01Z","updated_at":"2015-01-08T21:47:41Z","closed_at":"2015-01-08T21:47:41Z","merged_at":"2015-01-08T21:47:41Z","merge_commit_sha":"914aec6b6bc67cc33b17298a720deb918e824c4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robmorgan/phinx/pulls/428/commits","review_comments_url":"https://api.github.com/repos/robmorgan/phinx/pulls/428/comments","review_comment_url":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/{number}","comments_url":"https://api.github.com/repos/robmorgan/phinx/issues/428/comments","statuses_url":"https://api.github.com/repos/robmorgan/phinx/statuses/7fa1d725076fc2d6648df124b4a186ae6e798a8b","head":{"label":"shadowhand:i413-abstract-adapter-wrapper","ref":"i413-abstract-adapter-wrapper","sha":"7fa1d725076fc2d6648df124b4a186ae6e798a8b","user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"repo":{"id":23798545,"name":"phinx","full_name":"shadowhand/phinx","owner":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shadowhand/phinx","description":"PHP Database Migrations for Everyone","fork":true,"url":"https://api.github.com/repos/shadowhand/phinx","forks_url":"https://api.github.com/repos/shadowhand/phinx/forks","keys_url":"https://api.github.com/repos/shadowhand/phinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shadowhand/phinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shadowhand/phinx/teams","hooks_url":"https://api.github.com/repos/shadowhand/phinx/hooks","issue_events_url":"https://api.github.com/repos/shadowhand/phinx/issues/events{/number}","events_url":"https://api.github.com/repos/shadowhand/phinx/events","assignees_url":"https://api.github.com/repos/shadowhand/phinx/assignees{/user}","branches_url":"https://api.github.com/repos/shadowhand/phinx/branches{/branch}","tags_url":"https://api.github.com/repos/shadowhand/phinx/tags","blobs_url":"https://api.github.com/repos/shadowhand/phinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shadowhand/phinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shadowhand/phinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/shadowhand/phinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shadowhand/phinx/statuses/{sha}","languages_url":"https://api.github.com/repos/shadowhand/phinx/languages","stargazers_url":"https://api.github.com/repos/shadowhand/phinx/stargazers","contributors_url":"https://api.github.com/repos/shadowhand/phinx/contributors","subscribers_url":"https://api.github.com/repos/shadowhand/phinx/subscribers","subscription_url":"https://api.github.com/repos/shadowhand/phinx/subscription","commits_url":"https://api.github.com/repos/shadowhand/phinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/shadowhand/phinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/shadowhand/phinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/shadowhand/phinx/issues/comments/{number}","contents_url":"https://api.github.com/repos/shadowhand/phinx/contents/{+path}","compare_url":"https://api.github.com/repos/shadowhand/phinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shadowhand/phinx/merges","archive_url":"https://api.github.com/repos/shadowhand/phinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shadowhand/phinx/downloads","issues_url":"https://api.github.com/repos/shadowhand/phinx/issues{/number}","pulls_url":"https://api.github.com/repos/shadowhand/phinx/pulls{/number}","milestones_url":"https://api.github.com/repos/shadowhand/phinx/milestones{/number}","notifications_url":"https://api.github.com/repos/shadowhand/phinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shadowhand/phinx/labels{/name}","releases_url":"https://api.github.com/repos/shadowhand/phinx/releases{/id}","created_at":"2014-09-08T16:26:07Z","updated_at":"2014-09-07T05:11:22Z","pushed_at":"2015-01-08T21:45:37Z","git_url":"git://github.com/shadowhand/phinx.git","ssh_url":"git@github.com:shadowhand/phinx.git","clone_url":"https://github.com/shadowhand/phinx.git","svn_url":"https://github.com/shadowhand/phinx","homepage":"http://phinx.org","size":2869,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"0.3.x-dev"}},"base":{"label":"robmorgan:0.4.x-dev","ref":"0.4.x-dev","sha":"c26a0d4b9c162f46fb5d75fad32ed2994a848459","user":{"login":"robmorgan","id":178939,"avatar_url":"https://avatars.githubusercontent.com/u/178939?v=3","gravatar_id":"","url":"https://api.github.com/users/robmorgan","html_url":"https://github.com/robmorgan","followers_url":"https://api.github.com/users/robmorgan/followers","following_url":"https://api.github.com/users/robmorgan/following{/other_user}","gists_url":"https://api.github.com/users/robmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/robmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmorgan/subscriptions","organizations_url":"https://api.github.com/users/robmorgan/orgs","repos_url":"https://api.github.com/users/robmorgan/repos","events_url":"https://api.github.com/users/robmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/robmorgan/received_events","type":"User","site_admin":false},"repo":{"id":3055234,"name":"phinx","full_name":"robmorgan/phinx","owner":{"login":"robmorgan","id":178939,"avatar_url":"https://avatars.githubusercontent.com/u/178939?v=3","gravatar_id":"","url":"https://api.github.com/users/robmorgan","html_url":"https://github.com/robmorgan","followers_url":"https://api.github.com/users/robmorgan/followers","following_url":"https://api.github.com/users/robmorgan/following{/other_user}","gists_url":"https://api.github.com/users/robmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/robmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmorgan/subscriptions","organizations_url":"https://api.github.com/users/robmorgan/orgs","repos_url":"https://api.github.com/users/robmorgan/repos","events_url":"https://api.github.com/users/robmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/robmorgan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robmorgan/phinx","description":"PHP Database Migrations for Everyone","fork":false,"url":"https://api.github.com/repos/robmorgan/phinx","forks_url":"https://api.github.com/repos/robmorgan/phinx/forks","keys_url":"https://api.github.com/repos/robmorgan/phinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robmorgan/phinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robmorgan/phinx/teams","hooks_url":"https://api.github.com/repos/robmorgan/phinx/hooks","issue_events_url":"https://api.github.com/repos/robmorgan/phinx/issues/events{/number}","events_url":"https://api.github.com/repos/robmorgan/phinx/events","assignees_url":"https://api.github.com/repos/robmorgan/phinx/assignees{/user}","branches_url":"https://api.github.com/repos/robmorgan/phinx/branches{/branch}","tags_url":"https://api.github.com/repos/robmorgan/phinx/tags","blobs_url":"https://api.github.com/repos/robmorgan/phinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robmorgan/phinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robmorgan/phinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/robmorgan/phinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robmorgan/phinx/statuses/{sha}","languages_url":"https://api.github.com/repos/robmorgan/phinx/languages","stargazers_url":"https://api.github.com/repos/robmorgan/phinx/stargazers","contributors_url":"https://api.github.com/repos/robmorgan/phinx/contributors","subscribers_url":"https://api.github.com/repos/robmorgan/phinx/subscribers","subscription_url":"https://api.github.com/repos/robmorgan/phinx/subscription","commits_url":"https://api.github.com/repos/robmorgan/phinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/robmorgan/phinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/robmorgan/phinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/robmorgan/phinx/issues/comments/{number}","contents_url":"https://api.github.com/repos/robmorgan/phinx/contents/{+path}","compare_url":"https://api.github.com/repos/robmorgan/phinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robmorgan/phinx/merges","archive_url":"https://api.github.com/repos/robmorgan/phinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robmorgan/phinx/downloads","issues_url":"https://api.github.com/repos/robmorgan/phinx/issues{/number}","pulls_url":"https://api.github.com/repos/robmorgan/phinx/pulls{/number}","milestones_url":"https://api.github.com/repos/robmorgan/phinx/milestones{/number}","notifications_url":"https://api.github.com/repos/robmorgan/phinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robmorgan/phinx/labels{/name}","releases_url":"https://api.github.com/repos/robmorgan/phinx/releases{/id}","created_at":"2011-12-27T06:49:45Z","updated_at":"2015-01-08T21:47:41Z","pushed_at":"2015-01-08T21:47:41Z","git_url":"git://github.com/robmorgan/phinx.git","ssh_url":"git@github.com:robmorgan/phinx.git","clone_url":"https://github.com/robmorgan/phinx.git","svn_url":"https://github.com/robmorgan/phinx","homepage":"https://phinx.org","size":6113,"stargazers_count":1150,"watchers_count":1150,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":259,"mirror_url":null,"open_issues_count":103,"forks":259,"open_issues":103,"watchers":1150,"default_branch":"0.4.x-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/428"},"html":{"href":"https://github.com/robmorgan/phinx/pull/428"},"issue":{"href":"https://api.github.com/repos/robmorgan/phinx/issues/428"},"comments":{"href":"https://api.github.com/repos/robmorgan/phinx/issues/428/comments"},"review_comments":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/428/comments"},"review_comment":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/428/commits"},"statuses":{"href":"https://api.github.com/repos/robmorgan/phinx/statuses/7fa1d725076fc2d6648df124b4a186ae6e798a8b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"comments":1,"review_comments":4,"commits":8,"additions":588,"deletions":624,"changed_files":9}}